4 * Created on: Aug 19, 2012
8 #ifndef COMMON_STATS_H_
9 #define COMMON_STATS_H_
19 Stats(Uint16 attack, Uint16 defense, Uint16 strength, Uint16 agility, Uint16 intelligence, Uint8 gut, Uint16 magicResistance);
22 Uint16 Attack() const { return attack; }
23 Uint16 Defense() const { return defense; }
24 Uint16 Strength() const { return strength; }
25 Uint16 Agility() const { return agility; }
26 Uint16 Intelligence() const { return intelligence; }
27 Uint8 Gut() const { return gut; }
28 Uint16 MagicResistance() const { return magicResistance; }
30 void SetAttack(Uint16 a) { attack = a; }
31 void SetDefense(Uint16 d) { defense = d; }
32 void SetStrength(Uint16 s) { strength = s; }
33 void SetAgility(Uint16 a) { agility = a; }
34 void SetIntelligence(Uint16 i) { intelligence = i; }
35 void SetGut(Uint8 g) { gut = g; }
36 void SetMagicResistance(Uint16 m) { magicResistance = m; }
38 static void CreateTypeDescription();
39 static void Construct(void *);
54 #endif /* COMMON_STATS_H_ */