Component
Engine
(NOTE) A component is an atomic piece of functionality that is composed into a Cog to form game objects.
Properties
GameSession : gamesession
read-only
Get the GameSession that owns us and our space.
var GameSession : GameSession
LevelSettings : cog
read-only
Get the object named 'LevelSettings', a special object where we can put components for our level.
var LevelSettings : Cog
Owner : cog
read-only
Get the Cog this Component is owned by (not the parent of this composition).
var Owner : Cog
Space : space
read-only
The Space where the object is located.
var Space : Space
Methods
Component : Void
constructor
Constructor / Destructor. |Name|Type|Description| |---|---|---|
function Component()
DebugDraw : Void
Base debug draw for a component. Special for the each type of component. |Name|Type|Description| |---|---|---|
function DebugDraw()