Hello everyone. I’ve just started making a RPG game. I want to add alot of monsters, and I’m looking for a way to keep all my monsters in one class maybe? So I’d have a class called “Monsters” and in it it would be like:
Monster1{
Strength = 50;
Stamina = 25;
Agility = 30;
}
Monster2{
Strength = 10;
Stamina = 15;
Agility = 40;
}
etc.
Is there a way I can store my monsters like that, AND read them from my main timeline, so when my character enters my dungeon, it will take a random monster from that class file? And also I would need to get the stats from the monster, so I can calculate the damage dealth.
I would also need a system like this for sorting out all my weapons in game, where the stats are kept too.
Can anyone help me with an easy way to make this?