|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simulare.Named
org.simulare.AbstractTask
cin.aquario.ActionBreath
Defines the breathing action. Coral and fishes breath the oxigen from the aquarium.
Field Summary | |
static java.lang.String |
CONSUMER
|
static java.lang.String |
PRODUCER
|
Fields inherited from class org.simulare.AbstractTask |
tevent |
Constructor Summary | |
ActionBreath()
|
|
ActionBreath(java.lang.String name)
|
Method Summary | |
void |
execute(Item item)
Executes atask over an item. |
Methods inherited from class org.simulare.AbstractTask |
addTaskListener, fireTask, fireTaskExecuted, removeTaskListener |
Methods inherited from class org.simulare.Named |
addNameListener, fireName, fireNameChanged, getName, removeNameListener, setName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.simulare.Name |
addNameListener, getName, removeNameListener, setName |
Field Detail |
public static final java.lang.String PRODUCER
public static final java.lang.String CONSUMER
Constructor Detail |
public ActionBreath()
public ActionBreath(java.lang.String name)
Method Detail |
public void execute(Item item)
Task
item
- The item to execute a task over.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |