I've made a preliminary CFigure class. I wasn't sure what to put in it (as the design document didn't mention it), and I'm not all that clear on the MechWarrior rules, so I've just put in a few things that I'm pretty sure we'll use. I avoided some of the other stuff from MechWarrior, because I am not sure how much of that advanced functionality we will be programming. However, we can always add to the class when we need to for a particular feature.
Here's how the class looks:
- int m_AttackValue[16];
- char *m_FullName;
- int m_Damage[16];
- int m_DefenseValue[16];
- bool m_Flying;
- int m_ImageID
- int m_MaxClicks;
- int m_PointValue;
- int m_Range;
- int m_SpecialAbilities[16];
- int m_Speed[16];
0 Comments:
Post a Comment
<< Home