I'm wondering what are the best practices to implement some XML based (I assume) configuration management for my game.
Let's say I have a RTS-game and I have all these units, but I don't want to create classes like LightTank, HeavyTank, MediumTank and even MotorBike and define the configuration for each of those units in the programming code.
I would rather want to create a class called Unit, and define the configurative properties for those units outside the code.
Like in a INI file I would have something like:
Thank you very much!