Inherits AbstractStreamedObject.
Inherited by CircularVisual, LineVisual, ModelVisual, and SpriteVisual.

Public Member Functions | |
| BaseVisual (const std::string &type) | |
| BaseVisual (const std::string &type, GameEntity *pOwner, const Vector2 &position, const float fRotation, const float fScale, bool bRelativeXForm) | |
| void | SetPosition (const Vector2 &position) |
| const Vector2 & | GetPosition () const |
| void | SetRotation (const float fRotation) |
| float | GetRotation () const |
| void | SetScale (const float fScale) |
| float | GetScale () const |
| GameEntity * | GetOwner () const |
| void | SetOwner (GameEntity *pOwner) |
| bool | IsRelativeXForm () const |
| void | SetRelativeXForm (bool bRelative) |
| const std::string & | GetType () const |
| Vector2 | GetAbsolutePosition () const |
| float | GetAbsoluteRotation () const |
| virtual void | RenderVisual (AbstractRenderer *pRenderer, const int nDelta)=0 |
| virtual bool | FromAttribute (const Attribute *pRoot) |
| virtual void | ToStream (std::ostream &stream) const |
| virtual void | FromStream (std::istream &stream) |
1.6.1