YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
HitPoint.hpp
Go to the documentation of this file.
1
#ifndef YAPOG_HITPOINT_HPP
2
# define YAPOG_HITPOINT_HPP
3
4
# include "
YAPOG/Macros.hpp
"
5
# include "
YAPOG/Game/Pokemon/BaseStat.hpp
"
6
7
namespace
yap
8
{
9
class
YAPOG_LIB
HitPoint
:
public
BaseStat
10
{
11
public
:
12
HitPoint
();
13
HitPoint
(
const
UInt16
& currentValue,
const
UInt16
& ev,
const
UInt16
& iv);
14
15
UInt16
GetCurrentValue ()
const
;
16
17
void
SetCurrentValue (
const
UInt16
& value);
18
19
void
Restore ();
20
private
:
21
UInt16
currentValue_
;
22
static
const
UInt16
INITIAL_CURRENT_VALUE
;
23
};
24
}
// namespace yap
25
26
#endif // YAPOG_HITPOINT_HPP
YAPOG
include
YAPOG
Game
Pokemon
HitPoint.hpp
Generated on Mon Sep 17 2012 22:24:23 for YAPOG by
1.8.1.1