Set CollisionDamage for Player and Enemies.
This commit is contained in:
1 parent
d444b36351
commit
0d90b387c3
5 files changed
+5
-1
No files matched your search
@@ -23,6 +23,7 @@ public class Player extends ShootingEntity implements KeyboardListener {
|
||||
this.setShootSpawn(50, 16);
|
||||
this.setShootDirection(Shot.RIGHT);
|
||||
this.setShootSpeed(10);
|
||||
this.setCollisionDamage(10);
|
||||
this.setHealthPoints(100);
|
||||
this.registerOnKeyboard(Keyboard.getInstance());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user