Members
(constant) FILL_COLOR :Color
Default fill color for new units.
Type:
- Source
Methods
moveTo(pos)
Generate a path in the space to walk to a specified destination.
Parameters:
| Name | Type | Description |
|---|---|---|
pos | Vec2 | Position to generate a path to |
- Source
Type Definitions
ActorEvent
Type:
- "init" |
"update" | "delete" | "collide"
- Source
T
Add a component to the actor.