|
| | Position2D () |
| |
| | ~Position2D () |
| |
| virtual void | Init () |
| | Initializes the component.
|
| |
| const Vector2f | GetPosition (Scope::Level scope=Scope::LOCAL) const |
| |
| void | SetPosition (const Vector2f &newPos, Scope::Level scope=Scope::LOCAL) |
| |
| void | SetPosition (float newX, float newY, Scope::Level scope=Scope::LOCAL) |
| |
| void | SetX (float newX, Scope::Level scope=Scope::LOCAL) |
| |
| void | SetY (float newY, Scope::Level scope=Scope::LOCAL) |
| |
| void | Move (const Vector2f &dPos, Scope::Level scope=Scope::LOCAL) |
| |
| void | Move (float dX, float dY, Scope::Level scope=Scope::LOCAL) |
| |
| float | GetDepth () const |
| |
| void | SetDepth (float newDepth) |
| |
| void | MoveDepth (float dDepth) |
| |
| Angle::Degrees | GetRotation (Scope::Level scope=Scope::LOCAL) const |
| |
| void | SetRotation (Angle::Degrees newRotation, Scope::Level scope=Scope::LOCAL) |
| |
| void | Rotate (Angle::Degrees angle, Scope::Level scope=Scope::LOCAL) |
| |
| const Vector2f | GetScale (Scope::Level scope=Scope::LOCAL) const |
| |
| void | SetScale (const Vector2f &newScale, Scope::Level scope=Scope::LOCAL) |
| |
| void | SetScale (float scaleX, float scaleY, Scope::Level scope=Scope::LOCAL) |
| |
| void | SetScaleX (float scaleX, Scope::Level scope=Scope::LOCAL) |
| |
| void | SetScaleY (float scaleY, Scope::Level scope=Scope::LOCAL) |
| |
| void | Scale (const Vector2f &dScale, Scope::Level scope=Scope::LOCAL) |
| |
| void | Scale (float dX, float dY, Scope::Level scope=Scope::LOCAL) |
| |
| bool | GetInheritAxes () const |
| |
| void | SetInheritAxes (bool inherit) |
| |
| bool | GetInheritPosition () const |
| |
| void | SetInheritPosition (bool inherit) |
| |
| bool | GetInheritRotation () const |
| |
| void | SetInheritRotation (bool inherit) |
| |
| bool | GetInheritScale () const |
| |
| void | SetInheritScale (bool inherit) |
| |
| Vector2f | ConvertGlobalToLocal (const Vector2f &position) const |
| |
| Vector2f | ConvertLocalToGlobal (const Vector2f &position) const |
| |
| virtual | ~Component () |
| |
| virtual void | Destroy () |
| | Destroys the component.
|
| |
| virtual void | Update (float deltaTime) |
| | Runs an update.
|
| |
| Application & | GetApplication () const |
| |
| EntityID | GetOwnerID () const |
| |
| MetaEntity | GetOwnerEntity () const |
| |
| EntityManager & | GetManager () const |
| |
| const Timestamp & | GetTimestamp () const |
| | Gets the timestamp for when this component was last updated.
|
| |
| | PropertyList () |
| |
| virtual | ~PropertyList () |
| |
| bool | AddProperty (PropertyBase &prop) |
| |
| bool | RemoveProperty (const std::string &name) |
| |
| void | ClearProperties () |
| |
| bool | HasProperty (const std::string &name) const |
| |
| PropertyBase & | GetProperty (const std::string &name) |
| |
| const PropertyBase & | GetProperty (const std::string &name) const |
| |
| template<typename T > |
| Property< T > & | GetProperty (const std::string &name) |
| |
| template<typename T > |
| const Property< T > & | GetProperty (const std::string &name) const |
| |
| const PropertyMap & | GetAllProperties () const |
| |
Public Member Functions inherited from PZ::EventHandler |
| | EventHandler () |
| |
| virtual | ~EventHandler () |
| |
| bool | SubscribeTo (EventHandler &handler) |
| |
| bool | UnsubscribeTo (EventHandler &handler) |
| |
| template<class T , class EventT > |
| bool | RegisterEvent (T *obj, void(T::*memFn)(EventT &)) |
| |
| template<class T , class EventT > |
| bool | UnregisterEvent (T *obj, void(T::*memFn)(EventT &)) |
| |
| void | HandleEvent (const Event &e) |
| |
| void | EmitEvent (const Event &e) const |
| |