YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
AnyMapEventAction.cpp
Go to the documentation of this file.
1
#include "
YAPOG/Game/World/Map/AnyMapEventAction.hpp
"
2
3
namespace
yap
4
{
5
AnyMapEventAction::AnyMapEventAction
(
CallbackType
callback)
6
:
BaseMapEventAction
()
7
, callback_ (callback)
8
{
9
}
10
11
AnyMapEventAction::~AnyMapEventAction
()
12
{
13
}
14
15
AnyMapEventAction::AnyMapEventAction
(
const
AnyMapEventAction
& copy)
16
:
BaseMapEventAction
(copy)
17
, callback_ (copy.callback_)
18
{
19
}
20
21
AnyMapEventAction
*
AnyMapEventAction::Clone
()
const
22
{
23
return
new
AnyMapEventAction
(*
this
);
24
}
25
26
bool
AnyMapEventAction::HandleExecute
(
MapEventArgs
& args)
27
{
28
return
callback_
(
GetContextType
(), args);
29
}
30
}
// namespace yap
YAPOG
src
YAPOG
Game
World
Map
AnyMapEventAction.cpp
Generated on Mon Sep 17 2012 22:24:25 for YAPOG by
1.8.1.1