![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
Interface for a static or dynamic graphical element of the game. More...
#include <ISprite.hpp>
Public Member Functions | |
| virtual | ~ISprite () |
ICloneable members. | |
| virtual ISprite * | Clone () const |
Public Member Functions inherited from yap::ISpatial | |
| virtual | ~ISpatial () |
| virtual const Vector2 & | GetPosition () const =0 |
| Gets the coordinates in pixels of the origin of this ISpatial from the global origin. | |
| virtual const Vector2 & | GetSize () const =0 |
| Gets the size in pixels of this ISpatial. | |
| virtual const Vector2 & | GetTopLeft () const =0 |
| virtual const Vector2 & | GetBottomRight () const =0 |
| virtual const Vector2 & | GetCenter () const =0 |
| virtual const sf::FloatRect & | GetRectangle () const =0 |
| virtual void | Move (const Vector2 &offset)=0 |
| virtual void | Scale (const Vector2 &factor)=0 |
| virtual void | SetPosition (const Vector2 &position)=0 |
| virtual void | SetSize (const Vector2 &size)=0 |
Public Member Functions inherited from yap::IDrawable | |
| virtual | ~IDrawable () |
| virtual void | Draw (IDrawingContext &context)=0 |
| virtual bool | IsVisible () const =0 |
| virtual void | Show (bool isVisible)=0 |
| virtual void | ChangeColor (const sf::Color &color)=0 |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
| virtual void | Update (const Time &dt)=0 |
| Makes the object evolve for one frame of the game. | |
Public Member Functions inherited from yap::ILoadable | |
| virtual | ~ILoadable () |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Interface for a static or dynamic graphical element of the game.
Definition at line 14 of file ISprite.hpp.
|
inlinevirtual |
Definition at line 20 of file ISprite.hpp.
|
inlinevirtual |
Implements yap::ICloneable.
Reimplemented in yap::SpriteSet< K >, yap::SpriteSet< yap::String >, yap::Sprite, and yap::RegularAnimatedSprite.
Definition at line 24 of file ISprite.hpp.