diff --git a/src/de/teamteamteam/spacescooter/entity/Player.java b/src/de/teamteamteam/spacescooter/entity/Player.java index 9a9a61e..0037fa8 100644 --- a/src/de/teamteamteam/spacescooter/entity/Player.java +++ b/src/de/teamteamteam/spacescooter/entity/Player.java @@ -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()); } diff --git a/src/de/teamteamteam/spacescooter/entity/enemy/EnemyFour.java b/src/de/teamteamteam/spacescooter/entity/enemy/EnemyFour.java index 9acc966..825a8f6 100644 --- a/src/de/teamteamteam/spacescooter/entity/enemy/EnemyFour.java +++ b/src/de/teamteamteam/spacescooter/entity/enemy/EnemyFour.java @@ -21,6 +21,7 @@ public class EnemyFour extends Enemy{ this.setShootDelay(42); this.setShootSpawn(-10, 10); this.setShootDamage(5); + this.setCollisionDamage(5); this.setHealthPoints(5); this.points = points; this.x = x; diff --git a/src/de/teamteamteam/spacescooter/entity/enemy/EnemyOne.java b/src/de/teamteamteam/spacescooter/entity/enemy/EnemyOne.java index b2c0e4f..8aff0e1 100644 --- a/src/de/teamteamteam/spacescooter/entity/enemy/EnemyOne.java +++ b/src/de/teamteamteam/spacescooter/entity/enemy/EnemyOne.java @@ -10,6 +10,7 @@ public class EnemyOne extends Enemy { this.setShootDelay(42); this.setShootSpawn(-8, 10); this.setShootDamage(5); + this.setCollisionDamage(5); this.setHealthPoints(5); this.setCollisionDamage(this.getHealthPoints()); } diff --git a/src/de/teamteamteam/spacescooter/entity/enemy/EnemyThree.java b/src/de/teamteamteam/spacescooter/entity/enemy/EnemyThree.java index 48316f5..6adbb09 100644 --- a/src/de/teamteamteam/spacescooter/entity/enemy/EnemyThree.java +++ b/src/de/teamteamteam/spacescooter/entity/enemy/EnemyThree.java @@ -25,7 +25,7 @@ public class EnemyThree extends Enemy{ this.setShootSpawn(-10, 10); this.setShootDamage(5); this.setHealthPoints(15); - this.setCollisionDamage(this.getHealthPoints()); + this.setCollisionDamage(10); this.setPosition(GameConfig.windowWidth, random.nextInt(GameConfig.windowHeight - this.getHeight())); this.newY = this.getY(); } diff --git a/src/de/teamteamteam/spacescooter/entity/enemy/EnemyTwo.java b/src/de/teamteamteam/spacescooter/entity/enemy/EnemyTwo.java index 1ad266c..002d57f 100644 --- a/src/de/teamteamteam/spacescooter/entity/enemy/EnemyTwo.java +++ b/src/de/teamteamteam/spacescooter/entity/enemy/EnemyTwo.java @@ -15,6 +15,7 @@ public class EnemyTwo extends Enemy{ this.setShootDelay(42); this.setShootSpawn(-10, 10); this.setShootDamage(5); + this.setCollisionDamage(5); this.setHealthPoints(5); this.setCollisionDamage(this.getHealthPoints()); this.setPosition(GameConfig.windowWidth, random.nextInt(GameConfig.windowHeight - this.getHeight()));