I am having trouble deciding on which direction I should take my coding, currently I am making a CBS and with it I have a class that holds all stats and attributes of a character, aptly named "Character". I am having a hard time implementing a system which allows me to easily create instances of character types. Currently I have hard coded all data of a character type directly into my scripts, the only way I could think of doing this is simply make a child class of the class "Character" for every single different enemy and character type, which is a lot. In otherwords,if I wanted to create a type of enemy called "Slime", instead of simply using the "Character" class, I make a completely different child class out of character called "Slime." Why? Because I cant use the default database of RMXP because my CBS differs too much.
So here are my questions:
1) is there an easier way to build a database of enemy/character types other than directly hardcoding them into the system, especially as child classes.
2) Is creating a different child class for every different character type a little too extreme or unprofessional? It seems like I am trying to kill a fly with a shotgun.
I guess I am looking more for criticism than help, while my current system works, it feels sloppy.
So here are my questions:
1) is there an easier way to build a database of enemy/character types other than directly hardcoding them into the system, especially as child classes.
2) Is creating a different child class for every different character type a little too extreme or unprofessional? It seems like I am trying to kill a fly with a shotgun.
I guess I am looking more for criticism than help, while my current system works, it feels sloppy.