Constructor
new module:Instruction(action, target)
Instruction constructor
Parameters:
Name | Type | Description |
---|---|---|
action | InstructionCallback | Function to execute |
target | PositionDefinition | Position to go to |