Members
entity :Entity|null
Type:
- Entity | null
world :World|null
Type:
- World | null
Methods
onSetup()
Method the user can implement.
Called when script is ready.
setup(entity, world)
called by the Scriptsystem when script is ready
Parameters:
Name | Type | Description |
---|---|---|
entity |
Entity | |
world |
World |
update()
Method can be implemented by user. Here you can handle all the operations for the entity the component is attached to.