|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Operation | |
darwin.domain | Contains the core domain classes for the Darwin world. |
Uses of Operation in darwin.domain |
Fields in darwin.domain declared as Operation | |
static Operation |
Operation.GO
Jump to a new address. |
static Operation |
Operation.HOP
Move forward if the space ahead is empty. |
static Operation |
Operation.IFEMPTY
If the square in front of this creature is empty, update the next address. |
static Operation |
Operation.IFENEMY
If the square in front of this creature is occupied by a creature of an enemy species, update the next address. |
static Operation |
Operation.IFRANDOM
Update the address half the time. |
static Operation |
Operation.IFSAME
If the square in front of this creature is occupied by a creature of the same species, update the next address. |
static Operation |
Operation.IFWALL
If the creature is facing the border of the world, update the next address. |
static Operation |
Operation.INFECT
Infect the creature immediately in front of this creature. |
static Operation |
Operation.LEFT
Turn left 90 degrees. |
static Operation |
Operation.RIGHT
Turn right 90 degrees. |
Methods in darwin.domain that return Operation | |
static Operation |
Operation.getOperation(java.lang.String aOperationName)
Find an Operation by its name. |
Operation |
Instruction.getOperation()
Return the Operation for this Instruction. |
Constructors in darwin.domain with parameters of type Operation | |
Instruction(Operation aOperation,
int aNextStep)
Create an Instruction. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |