YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PlayerInputManager.cpp
Go to the documentation of this file.
1
#include "
World/Map/PlayerInputManager.hpp
"
2
3
namespace
yse
4
{
5
PlayerInputManager::PlayerInputManager
()
6
: gameInputs_ ()
7
{
8
gameInputs_
.
Add
(
yap::GameInputType::MapAction
,
false
);
9
}
10
11
PlayerInputManager::~PlayerInputManager
()
12
{
13
}
14
15
bool
PlayerInputManager::InputIsActive
(
16
yap::GameInputType gameInputType)
const
17
{
18
return
gameInputs_
[gameInputType];
19
}
20
21
void
PlayerInputManager::SetInputState
(
22
yap::GameInputType gameInputType,
23
bool
isActive)
24
{
25
gameInputs_
[gameInputType] = isActive;
26
}
27
}
// namespace yse
YAPOG.Server
src
World
Map
PlayerInputManager.cpp
Generated on Mon Sep 17 2012 22:24:22 for YAPOG by
1.8.1.1