Constructor
new Component(system, entity)
Base constructor for a Component
Parameters:
Name | Type | Description |
---|---|---|
system |
pc.ComponentSystem | The ComponentSystem used to create this Component |
entity |
pc.Entity | The Entity that this Component is attached to |
Properties:
Name | Type | Description |
---|---|---|
enabled |
Boolean | Enables or disables the component. |
- Source: