Class SimpleAI.PowerSkill

java.lang.Object
net.sf.colossus.ai.SimpleAI.PowerSkill
Enclosing class:
SimpleAI

protected class SimpleAI.PowerSkill extends Object
  • Field Details

    • name

      private final String name
    • power_attack

      private final int power_attack
    • power_defend

      private final int power_defend
    • skill_attack

      private final int skill_attack
    • skill_defend

      private final int skill_defend
    • hp

      private double hp
    • value

      private final double value
  • Constructor Details

    • PowerSkill

      public PowerSkill(String nm, int p, int pa, int pd, int sa, int sd)
    • PowerSkill

      public PowerSkill(String nm, int pa, int sa)
  • Method Details

    • getPowerAttack

      public int getPowerAttack()
    • getPowerDefend

      public int getPowerDefend()
    • getSkillAttack

      public int getSkillAttack()
    • getSkillDefend

      public int getSkillDefend()
    • getHP

      public double getHP()
    • setHP

      public void setHP(double h)
    • addDamage

      public void addDamage(double d)
    • getPointValue

      public double getPointValue()
    • getName

      public String getName()
    • toString

      public String toString()
      Overrides:
      toString in class Object