]> git.localhorst.tv Git - l2e.git/blob - src/battle/Stats.cpp
fixed order of initializer list of battle::Stats
[l2e.git] / src / battle / Stats.cpp
1 /*
2  * Stats.cpp
3  *
4  *  Created on: Aug 19, 2012
5  *      Author: holy
6  */
7
8 #include "Stats.h"
9
10 namespace battle {
11
12 Stats::Stats()
13 : attack(0)
14 , defense(0)
15 , strength(0)
16 , agility(0)
17 , intelligence(0)
18 , magicResistance(0)
19 , gut(0) {
20
21 }
22
23 Stats::Stats(Uint16 attack, Uint16 defense, Uint16 strength, Uint16 agility, Uint16 intelligence, Uint8 gut, Uint16 magicResistance)
24 : attack(attack)
25 , defense(defense)
26 , strength(strength)
27 , agility(agility)
28 , intelligence(intelligence)
29 , magicResistance(magicResistance)
30 , gut(gut) {
31
32 }
33
34 }