|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epochx.action.Action
com.epochx.action.AntAction
public abstract class AntAction
An AntAction is the superclass for all actions in the artificial ant domain. It provides a mechanism for accessing the Ant object to be acted upon.
Ant| Field Summary |
|---|
| Fields inherited from class com.epochx.action.Action |
|---|
DO_NOTHING |
| Constructor Summary | |
|---|---|
AntAction(Ant ant)
Constructs an AntAction, supplying an ant that the action can be performed on. |
|
| Method Summary | |
|---|---|
Ant |
getAnt()
Returns the Ant object that this Action acts upon. |
| Methods inherited from class com.epochx.action.Action |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AntAction(Ant ant)
ant - the Ant that can be acted upon.| Method Detail |
|---|
public Ant getAnt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||