YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
"
5
# include "
YAPOG/Graphics/Game/World/Map/TileLayoutHandler.hpp
"
6
# include "
YAPOG/Graphics/Vector2.hpp
"
7
# include "
YAPOG/Collection/Matrix.hpp
"
8
# include "
YAPOG/System/IntTypes.hpp
"
9
10
namespace
yap
11
{
12
class
Tile;
13
16
class
YAPOG_LIB
SelectionTileLayoutHandler
:
public
TileLayoutHandler
17
{
18
DISALLOW_COPY
(
SelectionTileLayoutHandler
);
19
20
public
:
21
22
SelectionTileLayoutHandler
();
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
36
uint
width_
;
37
uint
height_
;
38
39
Tile
*
defaultTile_
;
40
collection::Matrix<Tile*>
tiles_
;
41
};
42
}
// namespace yap
43
44
#endif // YAPOG_SELECTIONTILELAYOUTHANDLER_HPP
YAPOG
include
YAPOG
Graphics
Game
World
Map
SelectionTileLayoutHandler.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1