cin.aquario
Class ActionMove
java.lang.Object
org.simulare.Named
org.simulare.AbstractTask
cin.aquario.ActionMove
- All Implemented Interfaces:
- Name, Task
- public class ActionMove
- extends AbstractTask
An action to execute corals and fishes movement into the aquarium.
Method Summary |
void |
execute(Item item)
Executes atask over an item. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PRODUCERX
public static final java.lang.String PRODUCERX
- See Also:
- Constant Field Values
PRODUCERY
public static final java.lang.String PRODUCERY
- See Also:
- Constant Field Values
PRODUCERZ
public static final java.lang.String PRODUCERZ
- See Also:
- Constant Field Values
CONSUMERX
public static final java.lang.String CONSUMERX
- See Also:
- Constant Field Values
CONSUMERY
public static final java.lang.String CONSUMERY
- See Also:
- Constant Field Values
CONSUMERZ
public static final java.lang.String CONSUMERZ
- See Also:
- Constant Field Values
ActionMove
public ActionMove()
ActionMove
public ActionMove(java.lang.String name)
execute
public void execute(Item item)
- Description copied from interface:
Task
- Executes atask over an item. And must notify the listeners.
- Parameters:
item
- The item to execute a task over.