Base Component class. Components can be added to Entities.
More...
Inherited by Otter.Alarm, Otter.AutoTimer, Otter.Axis, Otter.Bone, Otter.Button, Otter.Controller, Otter.Countdown, Otter.Counter, Otter.EventProcessor, Otter.GridCounter, Otter.IRC, Otter.Lerper, Otter.Movement, Otter.SineWave, Otter.Skeleton, Otter.Snake, Otter.StateMachine< TState >, and Otter.Vertebra.
Base Component class. Components can be added to Entities.
virtual void Otter.Component.Added |
( |
| ) |
|
|
virtual |
T Otter.Component.GetComponent< T > |
( |
| ) |
|
List<T> Otter.Component.GetComponents< T > |
( |
| ) |
|
Gets a list of Components of type T from this Component's Entity.
- Template Parameters
-
T | The type of the Components. |
- Returns
- A list of Components of type T from the Entity's Components.
T Otter.Component.GetEntity< T > |
( |
| ) |
|
Get the Entity as a specific Type.
- Template Parameters
-
- Returns
- The Entity as Type T
virtual void Otter.Component.Removed |
( |
| ) |
|
|
virtual |
void Otter.Component.RemoveSelf |
( |
| ) |
|
virtual void Otter.Component.Render |
( |
| ) |
|
|
virtual |
virtual void Otter.Component.Update |
( |
| ) |
|
|
virtual |
Called during the Update on the parent Entity.
Reimplemented in Otter.Skeleton, Otter.StateMachine< TState >, Otter.PlatformingMovement, Otter.IRC, Otter.Counter, Otter.Lerper, Otter.AutoTimer, Otter.Vertebra, Otter.BasicMovement, Otter.Snake, Otter.Alarm, Otter.Countdown, Otter.EventQueue, and Otter.EventStack.
virtual void Otter.Component.UpdateFirst |
( |
| ) |
|
|
virtual |
virtual void Otter.Component.UpdateLast |
( |
| ) |
|
|
virtual |
Called during the UpdateLast on the parent Entity.
bool Otter.Component.RenderAfterEntity = true |
float Otter.Component.Timer = 0 |
bool Otter.Component.Visible = true |
List<Collider> Otter.Component.Colliders |
|
get |
The list of Colliders from the parent Entity.
List<Graphic> Otter.Component.Graphics |
|
get |
The list of Graphics from the parent Entity.
int Otter.Component.InstanceId |
|
getset |
Scene Otter.Component.Scene |
|
get |
The documentation for this class was generated from the following file:
- Otter/Components/Component.cs