YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
BattleSpawnerArea.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_BATTLESPAWNERAREA_HPP
2
# define YAPOG_BATTLESPAWNERAREA_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/World/Map/MapArea.hpp
"
6
7
namespace
yap
8
{
9
class
YAPOG_LIB
BattleSpawnerArea
:
public
MapArea
10
{
11
DISALLOW_ASSIGN
(
BattleSpawnerArea
);
12
13
public
:
14
15
virtual
~
BattleSpawnerArea
();
16
17
void
InitArea (
uint
width,
uint
height);
18
19
const
uint
& GetWidth ()
const
;
20
const
uint
& GetHeight ()
const
;
21
22
protected
:
23
24
explicit
BattleSpawnerArea
(
const
ID
&
id
);
25
26
BattleSpawnerArea
(
const
BattleSpawnerArea
& copy);
27
28
void
SetBattleSpawningArea (
const
FloatRect
& battleSpawningArea);
29
30
virtual
void
HandleInitArea (
uint
width,
uint
height);
31
32
static
const
uint
DEFAULT_CELL_SIZE
;
33
34
private
:
35
36
void
InitBattleSpawningEvent (
const
FloatRect
& battleSpawningArea);
37
38
static
const
uint
DEFAULT_WIDTH
;
39
static
const
uint
DEFAULT_HEIGHT
;
40
41
static
const
int
DEFAULT_BATTLE_SPAWNING_AREA_Z
;
42
static
const
int
DEFAULT_BATTLE_SPAWNING_AREA_H
;
43
44
uint
width_
;
45
uint
height_
;
46
47
FloatRect
battleSpawningArea_
;
48
};
49
}
// namespace yap
50
51
#endif // YAPOG_BATTLESPAWNERAREA_HPP
YAPOG
include
YAPOG
Game
World
Map
BattleSpawnerArea.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1