What would be a quick and efficient way to take a monster class array and store all the monsters stats and crud like that. I don't want like 2 billion lines of code.
here's what my monster class is:
Any help is appreciated. Thankie ThankieCode:class monster { private: int hp; //hp int mhp; //max hp int mp; //mp int mmp; //max mp int str; //effects damage given int def; //effects damage taken int mind; //effects skills void (*skilla)(class player target); //pointer to skill function a void (*skillb)(class player target); //pointer to skill function b void (*skillc)(class player target); //pointer to skill function c int expg; //exp given when defeated public: monster::monster(/*arguments*/) monster::~monster(/*arguments*/) //possibly more functions };