Feature: Add centered hitboxes that can have seperate dimensions.

This commit is contained in:
JPT committed 2014-12-09 11:59:04 +01:00
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);
}
}