I want to consolodate these variables into classes and I don't know how.
Variables are grouped for the classes.
This is just the variables, so you can see why I want to consolodiate them.Code:string choice;
/*Class stats*/
int hp;
int weapon;
int attack;
int dmg;
int gold;
int startpiont;
/*Class enemy*/
int enemyhp;
int enemy;
string enemyname;
int dodge;
int enemymaxdmg;
int weakness;
/*Class easteregg*/
bool computer;
bool motherboard;
bool floppydrive;
bool compucase;
bool demodisk;
bool guessdisk;
bool quizdisk;
bool calculatedisk;
bool rpsdisk;
bool stickdisk;
/*Class meats*/
int bacon;
int rbeef;
int bbqpork;
int bbqbeef;
int chicken;
int porkchop;
int steak;
/*Class fruit*/
int apple;
int orange;
int pear;
int plum;
int pinapple;
int peach;
int papaya;
int mango;
/*Class otherfood*/
int smsand;
int lgsand;
int cheese;
int candy;
/*Class items*/
bool broom;
bool rope;
bool grapple;
bool goldplate;
bool goldgoblet;
bool goldbowl;
bool goldflatware;
bool bow;
bool handgrenade;
bool stairboots;
/*Class traps*/
int trapdmg;
int spikepit;