Feature: Add centered hitboxes that can have seperate dimensions.
This commit is contained in:
1 parent
be8f7a231f
commit
73f948b4e1
17 files changed
+144
-42
No files matched your search
@@ -9,6 +9,7 @@ public class StoneOne extends MovingObstacle {
|
||||
super(x, y);
|
||||
this.setImage("images/stones/stone01.png");
|
||||
this.setCollisionDamage(9001);
|
||||
this.setHitboxDimenstions(this.getImageWidth() - 5, this.getImageHeight() - 5);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user