YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
TriggerBattleMapEventAction.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_TRIGGERBATTLEMAPEVENTACTION_HPP
2
# define YAPOG_TRIGGERBATTLEMAPEVENTACTION_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/World/Map/BaseMapEventAction.hpp
"
6
# include "
YAPOG/System/String.hpp
"
7
# include "
YAPOG/Graphics/Vector2.hpp
"
8
9
namespace
yap
10
{
11
class
BattleSpawnerArea;
12
13
class
TriggerBattleMapEventAction
:
public
BaseMapEventAction
14
{
15
DISALLOW_ASSIGN
(
TriggerBattleMapEventAction
);
16
17
public
:
18
19
explicit
TriggerBattleMapEventAction
(
BattleSpawnerArea
& source);
20
virtual
~TriggerBattleMapEventAction
();
21
22
virtual
void
VisitPlayer
(
IPlayer
& visitable);
23
26
virtual
TriggerBattleMapEventAction
*
Clone
()
const
;
28
29
protected
:
30
31
TriggerBattleMapEventAction
(
const
TriggerBattleMapEventAction
& copy);
32
33
private
:
34
35
static
const
String
OBJECT_ENTERING_HANDLER_NAME
;
36
37
bool
TriggerBattle
(
const
Vector2
& offset);
38
39
BattleSpawnerArea
&
source_
;
40
};
41
}
// namespace yap
42
43
#endif // YAPOG_TRIGGERBATTLEMAPEVENTACTION_HPP
YAPOG
include
YAPOG
Game
World
Map
TriggerBattleMapEventAction.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1