Module CorsixTH.CorsixTH.Lua.entities.humanoid
An `Entity` which occupies a single tile and is capable of moving around the map.
Functions
| Humanoid:_handleEmptyActionQueue () | Handle an empty action queue in some way instead of crashing. |
| Humanoid:despawn () | Despawn the humanoid. |
| Humanoid:startAction () | Start the next (always first) action in the queue. |
| Humanoid:unexpectFromRoom (dest_room) | Unexpects humanoid from a room, if validly entering this room |
Functions
- Humanoid:_handleEmptyActionQueue ()
- Handle an empty action queue in some way instead of crashing.
- Humanoid:despawn ()
- Despawn the humanoid.
- Humanoid:startAction ()
- Start the next (always first) action in the queue.
- Humanoid:unexpectFromRoom (dest_room)
-
Unexpects humanoid from a room, if validly entering this room
Parameters:
- dest_room (Room) The room the humanoid maybe expected at