Haulien

Untitled

Sep 21st, 2014
595
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.24 KB | None | 0 0
  1.     public float totalHitPointsEntireParty(){
  2.         float hitpoints = 0f;
  3.         for (Creature c : creatureList) {
  4.             hitpoints += c.getMaxHitPoints();
  5.             hitpoints += c.getHitPoints();
  6.         }
  7.         return hitpoints;
  8.     }
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment