YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::ISprite Struct Reference

Interface for a static or dynamic graphical element of the game. More...

#include <ISprite.hpp>

Inheritance diagram for yap::ISprite:
Collaboration diagram for yap::ISprite:

List of all members.

Public Member Functions

virtual ~ISprite ()
ICloneable members.
virtual ISpriteClone () const
- Public Member Functions inherited from yap::ISpatial
virtual ~ISpatial ()
virtual const Vector2GetPosition () const =0
 Gets the coordinates in pixels of the origin of this ISpatial from the global origin.
virtual const Vector2GetSize () const =0
 Gets the size in pixels of this ISpatial.
virtual const Vector2GetTopLeft () const =0
virtual const Vector2GetBottomRight () const =0
virtual const Vector2GetCenter () 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 ()

Detailed Description

Interface for a static or dynamic graphical element of the game.

Definition at line 14 of file ISprite.hpp.


Constructor & Destructor Documentation

virtual yap::ISprite::~ISprite ( )
inlinevirtual

Definition at line 20 of file ISprite.hpp.


Member Function Documentation

virtual ISprite* yap::ISprite::Clone ( ) const
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.

Here is the caller graph for this function:


The documentation for this struct was generated from the following file: