YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
MapEventArgs.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_MAPEVENTARGS_HPP
2
# define YAPOG_MAPEVENTARGS_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
6
namespace
yap
7
{
8
struct
ICollidable;
9
10
class
Time;
11
class
DynamicWorldObject;
12
class
MapEventInfo;
13
14
class
YAPOG_LIB
MapEventArgs
15
{
16
DISALLOW_COPY
(
MapEventArgs
);
17
18
public
:
19
20
MapEventArgs
(
21
const
Time
& dt,
22
DynamicWorldObject
& trigger,
23
const
ICollidable
& triggerCollidable,
24
MapEventInfo
& mapContext);
25
26
const
Time
& GetDt ()
const
;
27
28
DynamicWorldObject
& GetTrigger ();
29
const
ICollidable
& GetTriggerCollidable ()
const
;
30
31
MapEventInfo
& GetMapContext ();
32
33
void
AbortEvents (
bool
abortEvents);
34
bool
AbortEvents ()
const
;
35
36
private
:
37
38
static
const
bool
DEFAULT_ABORT_EVENTS_STATE
;
39
40
const
Time
&
dt_
;
41
42
DynamicWorldObject
&
trigger_
;
43
const
ICollidable
&
triggerCollidable_
;
44
45
MapEventInfo
&
mapContext_
;
46
47
bool
abortEvents_
;
48
};
49
}
// namespace yap
50
51
#endif // YAPOG_MAPEVENTARGS_HPP
YAPOG
include
YAPOG
Game
World
Map
MapEventArgs.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1