diff --git a/GamePlay/Frames/Frame.java b/GamePlay/Frames/Frame.java index 756f9ea..b0c1e89 100644 --- a/GamePlay/Frames/Frame.java +++ b/GamePlay/Frames/Frame.java @@ -18,6 +18,12 @@ public class Frame { private Push_HitBox pushHitBox; public Frame() { - + move_y = 0.0; + move_x = 0.0; + passHitBox = new ArrayList(); + actHitBox = new ArrayList(); + passThrowHitBox = new ArrayList(); + actThrowHitBox = new ArrayList(); + pushHitBox = new Push_HitBox(); } } diff --git a/GamePlay/Hitboxes/HitBox.java b/GamePlay/Hitboxes/HitBox.java index d0ac360..ae2e01f 100644 --- a/GamePlay/Hitboxes/HitBox.java +++ b/GamePlay/Hitboxes/HitBox.java @@ -22,7 +22,7 @@ public class HitBox { this.position_y = position_y; } - public HitBox(double position_x, double position_y, double size_x, double size_y) { + public HitBox(Double position_x, Double position_y, Double size_x, Double size_y) { if(position_x < 0.0) { position_x = 0.0; diff --git a/GamePlay/Hitboxes/Push_HitBox.java b/GamePlay/Hitboxes/Push_HitBox.java index 1fab532..28d05b8 100644 --- a/GamePlay/Hitboxes/Push_HitBox.java +++ b/GamePlay/Hitboxes/Push_HitBox.java @@ -1,5 +1,13 @@ package Hitboxes; public class Push_HitBox extends HitBox { + + public Push_HitBox() { + super(); + } + + public Push_HitBox(Double position_x, Double position_y, Double size_x, Double size_y) { + super(position_x, position_y, size_x, size_y); + } }