YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
PlayerTime.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_PLAYERTIME_HPP
2
# define YAPOG_PLAYERTIME_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/System/Time/Time.hpp
"
6
7
namespace
yap
8
{
9
class
YAPOG_LIB
PlayerTime
10
{
11
public
:
12
PlayerTime
();
13
14
void
UpdateTime (
const
Time
& dt);
15
18
const
Time
& GetPlayTime ()
const
;
19
const
Time
& GetCurrentSessionTime ()
const
;
21
24
void
RawSetPlayTime (
const
Time
& value);
26
27
private
:
28
Time
playTime_
;
29
Time
currentSessionTime_
;
30
};
31
}
// namespace yap
32
33
#endif // YAPOG_PLAYERTIME_HPP
YAPOG
include
YAPOG
Game
Player
PlayerTime.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1