|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectus.asciiroth.client.core.AbstractPiece
us.asciiroth.client.agents.AbstractAgent
us.asciiroth.client.agents.ImmobileAgent
public abstract class ImmobileAgent
An agent that cannot be moved and that is probably not animate.
| Constructor Summary | |
|---|---|
ImmobileAgent(java.lang.String name,
int flags,
Symbol symbol)
Constructor. |
|
| Method Summary | |
|---|---|
int |
changeHealth(int value)
Cannot be destroyed by default. |
| Methods inherited from class us.asciiroth.client.agents.AbstractAgent |
|---|
canEnter, onDie, onHit, onHitBy, onHitBy |
| Methods inherited from class us.asciiroth.client.core.AbstractPiece |
|---|
getColor, getName, getSymbol, is, not |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface us.asciiroth.client.core.Piece |
|---|
getColor, getName, getSymbol, is, not |
| Constructor Detail |
|---|
public ImmobileAgent(java.lang.String name,
int flags,
Symbol symbol)
name - flags - symbol - | Method Detail |
|---|
public int changeHealth(int value)
changeHealth in interface AgentchangeHealth in class AbstractAgentvalue - the damage to take or the adjustment to the percentage
chance to be hit.
|
0.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
© 2009 Alx Dark