Package org.moparscape.msc.gs.model.mini

Examples of org.moparscape.msc.gs.model.mini.Damage.addDamage()


  public void addDamage(final Player player, final int damage,
      final int damageType) {
    final Damage prev = this.damage.get(player);
    if (prev != null) {
      prev.addDamage(damage, damageType);
    } else {
      this.damage.put(player, new Damage(damage, damageType));
    }
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.