Use a class or structure?
Im making a text based rpg game. I have several options of races of players to choose from (human, enchanter,brute). Each of these class's have different amount of hitpoints, mana and strength. I will add to these by putting equipment, expierence and levels for the player at a later time. My question is, would it be better for me to use a class or a structure to house this information? Instead of assigning the values outright like this:
Code:
#include <iostream>
using namespace std;
int HumanBaseHP = 500;
int HumanBaseMP =200;
int HumanBaseSTR = 15;
int main()
{
//code here
}
I think it would be better if I used a class or structure for each race I have. If I am confusing anyone let me know and I will try to explain it better.