![]() |
YAPOG
0.0.1
Yet Another Pokemon Online Game
|
#include <TileLayerStack.hpp>
Public Member Functions | |
| TileLayerStack () | |
| virtual | ~TileLayerStack () |
| void | SetSize (uint width, uint height) |
| void | AddTileLayer (uint height, TileLayoutHandler *layoutHandler) |
| const TileLayer & | GetTileLayer (uint height) const |
| TileLayer & | GetTileLayer (uint height) |
| TileLayerStack (const TileLayerStack ©) | |
IDrawable members. | |
| virtual void | Draw (IDrawingContext &context) |
| virtual bool | IsVisible () const |
| virtual void | Show (bool isVisible) |
| virtual void | ChangeColor (const sf::Color &color) |
IUpdateable members. | |
| virtual void | Update (const Time &dt) |
| Makes the object evolve for one frame of the game. | |
ICloneable members. | |
| virtual TileLayerStack * | Clone () const |
Public Member Functions inherited from yap::IDrawable | |
| virtual | ~IDrawable () |
Public Member Functions inherited from yap::IUpdateable | |
| virtual | ~IUpdateable () |
Public Member Functions inherited from yap::ICloneable | |
| virtual | ~ICloneable () |
Private Member Functions | |
| DISALLOW_ASSIGN (TileLayerStack) | |
| void | AddTileLayer (uint height, TileLayer *tileLayer) |
Private Attributes | |
| uint | width_ |
| uint | height_ |
| collection::Map< uint, TileLayer * > | tileLayers_ |
Static Private Attributes | |
| static const uint | DEFAULT_WIDTH = 0 |
| static const uint | DEFAULT_HEIGHT = 0 |
| static const uint | DEFAULT_MAX_HEIGHT = 3 |
Definition at line 16 of file TileLayerStack.hpp.
| yap::TileLayerStack::TileLayerStack | ( | ) |
|
virtual |
Definition at line 20 of file TileLayerStack.cpp.
| yap::TileLayerStack::TileLayerStack | ( | const TileLayerStack & | copy | ) |
| void yap::TileLayerStack::AddTileLayer | ( | uint | height, |
| TileLayoutHandler * | layoutHandler | ||
| ) |
Definition at line 51 of file TileLayerStack.cpp.
|
virtual |
Implements yap::IDrawable.
Definition at line 102 of file TileLayerStack.cpp.
|
virtual |
Implements yap::ICloneable.
Definition at line 35 of file TileLayerStack.cpp.
|
private |
|
virtual |
Implements yap::IDrawable.
Definition at line 81 of file TileLayerStack.cpp.
Definition at line 71 of file TileLayerStack.cpp.
Definition at line 76 of file TileLayerStack.cpp.
|
virtual |
Implements yap::IDrawable.
Definition at line 87 of file TileLayerStack.cpp.
|
virtual |
Implements yap::IDrawable.
Definition at line 96 of file TileLayerStack.cpp.
|
virtual |
Makes the object evolve for one frame of the game.
| dt | Delta time since the last frame. |
Implements yap::IUpdateable.
Definition at line 108 of file TileLayerStack.cpp.
|
staticprivate |
Definition at line 61 of file TileLayerStack.hpp.
|
staticprivate |
Definition at line 62 of file TileLayerStack.hpp.
|
staticprivate |
Definition at line 60 of file TileLayerStack.hpp.
|
private |
Definition at line 65 of file TileLayerStack.hpp.
|
private |
Definition at line 66 of file TileLayerStack.hpp.
|
private |
Definition at line 64 of file TileLayerStack.hpp.