What I'm doing is making a game and I need to do this for my items:
- Have an "Item" Class
- Have other superclasses such as:Weapon,Armor,Food
- Read XML file with items on it.
- Create appropriate Item classes with the correct extended class.
- Fill the fields with data from the XML class
I have no idea how to do this, can you guys help me see what I need to do?
Thanks.