new HandlerLogic(definition)
A component that handles updating logic components. Each tick it calls all the entities that accept 'handle-logic' messages. This component is usually used on an "action-layer".
- Source:
Parameters:
Name | Type | Description |
---|---|---|
definition |
*
|
Fires:
- platypus.Entity#event:handle-ai
- platypus.Entity#event:handle-logic
- platypus.Entity#event:logic-paused
- platypus.Entity#event:logic-unpaused
- platypus.Entity#event:prepare-logic
- platypus.Entity#event:handle-movement
- platypus.Entity#event:check-collision-group
- platypus.Entity#event:handle-post-collision-logic
- platypus.Entity#event:state-changed