Um, theyre as good as any, but thanks for the tip on the reference thing i forgot totally about that.
I thought that when you called the attack function and did something like this...
it would work as planned
Creature(int health, int attack, int defense)
statistics.Health = health;
statistics.Attack = attack;
statistics.Defense = defense;
void Attack(Creature c)
c.statistics.Health -= statistics.Attack;
class Human : Creature
Creature C1(100, 25, 10);
Creature C2(100, 25, 10);