Component

Interface for components to implement.

Members

Aliases

Description
alias Description = .Description

For easy external access

Functions

description
const(Description) description()

Create a description from the this parameter.

draw
void draw()

Called on the draw cycle.

initialize
void initialize()

The function called on initialization of the object.

refresh
void refresh(Description desc)

Refresh an object with a new description

shutdown
void shutdown()

Called on shutdown.

update
void update()

Called on the update cycle.

Variables

owner
GameObject owner;

The GameObject that owns this component.

Meta