This interface is implemented by all knights. It defines only one new method. See the IObject interface for information on inherited methods.
| Method Summary | |
|---|---|
int |
getStrength()
Returns the strength left in this knight. |
| Methods inherited from interface com.ibm.ruler.IObject |
|---|
getDirectionTo, getDistanceTo, getId, getRuler, getX, getY, isAlive |
| Method Detail |
public int getStrength()