package Frames; import java.util.ArrayList; import Hitboxes.*; /** * Main class for frames * @author Victor Azra * */ public class Frame { private Double move_y; private Double move_x; private ArrayList passHitBox; private ArrayList actHitBox; private ArrayList passThrowHitBox; private ArrayList actThrowHitBox; private Push_HitBox pushHitBox; public Frame() { this.move_y = 0.0; this.move_x = 0.0; this.passHitBox = new ArrayList(); this.actHitBox = new ArrayList(); this.passThrowHitBox = new ArrayList(); this.actThrowHitBox = new ArrayList(); this.pushHitBox = new Push_HitBox(); } public Frame(Double move_y, Double move_x, ArrayList passHitBox, ArrayList actHitBox, ArrayList passThrowHitBox, ArrayList actThrowHitBox, Push_HitBox pushHitBox) { this.move_y = move_y; this.move_x = move_x; this.passHitBox = passHitBox; this.actHitBox = actHitBox; this.passThrowHitBox = passThrowHitBox; this.actThrowHitBox = actThrowHitBox; this.pushHitBox = pushHitBox; } /* * Mainly use for projectiles */ public Frame(Double move_y, Double move_x, ArrayList passHitBox, ArrayList actHitBox) { this.move_y = move_y; this.move_x = move_x; this.passHitBox = passHitBox; this.actHitBox = actHitBox; this.passThrowHitBox = new ArrayList(); this.actThrowHitBox = new ArrayList(); this.pushHitBox = new Push_HitBox(); } }