Skip to content

Commit

Permalink
finished adding java docs to all functions, forgot to mention it in l…
Browse files Browse the repository at this point in the history
…ast commit
  • Loading branch information
gregchan550 committed Sep 21, 2023
1 parent cf037c7 commit 16f75be
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@ private void applyAoeDamage(Array<Entity> targets, int damage) {
}
}

/**
* Returns the closest human entity
* @param targets array of human entities within radius of 3
* @return closest human entity
*/
private Entity getClosestHuman(Array<Entity> targets) {
Entity closestEntity = null;
float closestDistance = SMASH_RADIUS;
Expand Down

0 comments on commit 16f75be

Please sign in to comment.