module:Instruction

Instruction class

Constructor

new module:Instruction(action, target)

Instruction constructor

Parameters:
NameTypeDescription
actionInstructionCallback

Function to execute

targetPositionDefinition

Position to go to