YAPOG  0.0.1
Yet Another Pokemon Online Game
SelectionTileLayoutHandler.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_SELECTIONTILELAYOUTHANDLER_HPP
2 # define YAPOG_SELECTIONTILELAYOUTHANDLER_HPP
3 
4 # include "YAPOG/Macros.hpp"
9 
10 namespace yap
11 {
12  class Tile;
13 
17  {
19 
20  public:
21 
23  virtual ~SelectionTileLayoutHandler ();
24 
25  void SetSize (uint width, uint height);
26  void SetDefaultTile (Tile* tile);
27  void SetTile (uint x, uint y, Tile* tile);
28 
29  private:
30 
31  virtual void HandleExecute (TileLayer& tileLayer);
32 
33  static const uint DEFAULT_WIDTH;
34  static const uint DEFAULT_HEIGHT;
35 
38 
41  };
42 } // namespace yap
43 
44 #endif // YAPOG_SELECTIONTILELAYOUTHANDLER_HPP