ShapeComponent
Extends:
Component → ShapeComponent
Constructor Summary
Public Constructor | ||
public |
|
Inherited Summary
From class Component | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
offlineAttach(entity: *) This is called if attached while game is not running |
|
public |
onAttach() This is called when it is attached to an Entity |
|
public |
This is called when it is detatched from an Entity |
|
public |
setDependency(id: *) |
|
private |
_checkDependencies(entity: *) This will check if the entity it's being attached to, has this component's dependencies. |
Public Constructors
Public Methods
public onAttach() source
This is called when it is attached to an Entity
Override:
Component#onAttachpublic onDetatch() source
This is called when it is detatched from an Entity