Necessary Methods

Entity

Method
Parameters
Return Value
Description

self: Entity

None

A necessary function, to initialise an entity in its default state.

Method
Parameters
Return Value
Description

self: Entity dt: float

None

A necessary function, to process an entity's behaviour each tick.

Method
Parameters
Return Value
Description

self: Entity

msg: table({ Data: table Client: bool )}

None

A necessary function, to receive messages to an entity.

Last updated