Class SimpleAI.PowerSkill
java.lang.Object
net.sf.colossus.ai.SimpleAI.PowerSkill
- Enclosing class:
SimpleAI
- Author:
- Bruce Sherrod, David Ripton, Romain Dolbeau
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleprivate final Stringprivate final intprivate final intprivate final intprivate final intprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionPowerSkill(String nm, int pa, int sa) PowerSkill(String nm, int p, int pa, int pd, int sa, int sd) -
Method Summary
-
Field Details
-
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
-
PowerSkill
-
-
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
-
toString
-