![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <RegularAnimatedSprite.hpp>
Public Member Functions | |
| RegularAnimatedSprite () | |
| RegularAnimatedSprite (const Time &delay) | |
| RegularAnimatedSprite (int frameRate) | |
| virtual | ~RegularAnimatedSprite () |
ICloneable members. | |
| virtual RegularAnimatedSprite * | Clone () const |
Public Member Functions inherited from yap::AnimatedSprite | |
| virtual | ~AnimatedSprite () |
| void | AddFrame (ISprite *sprite) |
| void | RemoveFrame (ISprite *sprite) |
| void | ChangeState (PlayState playState) |
| void | SetDefaultFrame (IndexType index) |
Public Member Functions inherited from yap::BaseSprite | |
| BaseSprite () | |
| virtual | ~BaseSprite () |
| virtual const Vector2 & | GetPosition () const |
| Gets the coordinates in pixels of the origin of this ISpatial from the global origin. | |
| virtual const Vector2 & | GetSize () const |
| Gets the size in pixels of this ISpatial. | |
| virtual const Vector2 & | GetTopLeft () const |
| virtual const Vector2 & | GetBottomRight () const |
| virtual const Vector2 & | GetCenter () const |
| virtual const FloatRect & | GetRectangle () const |
| virtual void | Move (const Vector2 &offset) |
| virtual void | Scale (const Vector2 &factor) |
| virtual void | SetPosition (const Vector2 &position) |
| virtual void | SetSize (const Vector2 &size) |
| virtual void | Draw (IDrawingContext &context) |
| virtual bool | IsVisible () const |
| virtual void | Show (bool isVisible) |
| virtual void | ChangeColor (const sf::Color &color) |
| virtual void | Update (const Time &dt) |
| Makes the object evolve for one frame of the game. | |
Public Member Functions inherited from yap::ISprite | |
| virtual | ~ISprite () |
Public Member Functions inherited from yap::ISpatial | |
| virtual | ~ISpatial () |
Public Member Functions inherited from yap::IDrawable | |
| virtual | ~IDrawable () |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
Public Member Functions inherited from yap::ILoadable | |
| virtual | ~ILoadable () |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Protected Member Functions | |
| RegularAnimatedSprite (const RegularAnimatedSprite ©) | |
Protected Member Functions inherited from yap::AnimatedSprite | |
| AnimatedSprite () | |
| AnimatedSprite (const AnimatedSprite ©) | |
| void | SetFrameSwitcher (FrameSwitcher *frameSwitcher) |
| virtual Vector2 | HandleGetSize () const |
| virtual void | HandleMove (const Vector2 &offset) |
| virtual void | HandleScale (const Vector2 &factor) |
| virtual void | HandleDraw (IDrawingContext &context) |
| virtual void | HandleShow (bool isVisible) |
| virtual void | HandleChangeColor (const sf::Color &color) |
| virtual void | HandleUpdate (const Time &dt) |
Protected Member Functions inherited from yap::BaseSprite | |
| BaseSprite (const BaseSprite ©) | |
Private Member Functions | |
| DISALLOW_ASSIGN (RegularAnimatedSprite) | |
Static Private Attributes | |
| static const int | DEFAULT_FRAME_RATE = 10 |
Additional Inherited Members | |
Public Types inherited from yap::AnimatedSprite | |
| enum | PlayState { None = 0, Once = 1, Loop = 2 } |
| typedef collection::Array < ISprite * >::SizeType | IndexType |
Definition at line 9 of file RegularAnimatedSprite.hpp.
| yap::RegularAnimatedSprite::RegularAnimatedSprite | ( | ) |
Definition at line 8 of file RegularAnimatedSprite.cpp.
|
explicit |
|
explicit |
|
virtual |
Definition at line 16 of file RegularAnimatedSprite.cpp.
|
protected |
Definition at line 20 of file RegularAnimatedSprite.cpp.
|
virtual |
Reimplemented from yap::ISprite.
Definition at line 26 of file RegularAnimatedSprite.cpp.
|
private |
|
staticprivate |
Definition at line 31 of file RegularAnimatedSprite.hpp.