...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
activateStructure(structure,target);
activateStructure(structure,{x:xPos,y:yPos}); |
Parameters
Parameter | Type | Mandatory | Description |
---|---|---|---|
structure | Structure object | The structure that will perform the special action. | |
target | Game object {x:xxPos, y:yyPos} | The target location – this can be a game object, or any other object that has x,y properties. |
...