YAPOG  0.0.1
Yet Another Pokemon Online Game
HitPoint.cpp
Go to the documentation of this file.
3 
4 namespace yap
5 {
7 
9  : currentValue_ (INITIAL_CURRENT_VALUE)
10  {
11  }
12 
14  const UInt16& currentValue,
15  const UInt16& ev,
16  const UInt16& iv)
17  : BaseStat (ev, iv)
18  , currentValue_ (currentValue)
19  {
20  }
21 
23  { return currentValue_; }
24 
25  void HitPoint::SetCurrentValue (const UInt16& value)
26  {
28  (value, INITIAL_CURRENT_VALUE, value_);
29  }
30 
32  {
34  }
35 
36 } // namespace yap