dash ~master (2014-11-19T20:54:00Z)
Home
Dub
Repo
GameObject.addComponent
dash
core
gameobject
GameObject
Adds a component to the object.
class
GameObject
final
void
addComponent
(
Component
newComponent
)
in { assert (newComponent, "Null component added."); }
Meta
Source
See Implementation
dash
core
gameobject
GameObject
constructors
this
functions
addChild
addComponent
changeName
draw
findScene
getComponent
refresh
refreshComponent
removeChild
shutdown
toDescription
toRepresentation
update
properties
light
static functions
create
fromRepresentation
structs
Description
variables
id
scene
stateFlags
transform
Adds a component to the object.