Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
Removed complex method signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Crotts committed Aug 1, 2020
1 parent 1a57ab3 commit 07ff168
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions com/dsd/game/controller/CollisionHandlerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,6 @@ public void handleBoundsCollision(StandardGameObject _obj1, StandardGameObject _
}
}

/**
* If a bullet hits a monster (shot by the player), we will destroy the
* bullet, deduct the bullet's damage from the monster, and determine if the
* monster is alive or not.
*
* @param bullet
* @param monster
*/
private void handleBulletEnemyCollision(ProjectileGameObject _bullet, Enemy _monster) {
// Sets the bullet to dead. Casts the obj2 to a Monster so we can deduct health from it.
if (_monster.isAlive() && _bullet.isAlive()) {
Expand Down

0 comments on commit 07ff168

Please sign in to comment.