filoromz / roloex

A random project -- RPG game :)
4 stars 0 forks source link

Create and implement an Item class #4

Closed filoromz closed 12 years ago

filoromz commented 12 years ago

Since the aim of the game is to retrieve the Shield of Honour (which is ideally going to be an Item), we should created an Item class which will represent different items that can be collected and used in the game.

Ideas for Items:

Item will be abstract class There will be two types of items, one-time items and re-usable items (these will also be abstract) Then concrete classes will be extending from the two types of items

filoromz commented 12 years ago

Ended up just putting the one-time and re-usable items as an enum instead of abstract classes. Trying to keep it as simple as possible with not as much abstractions. May change this in the future though!

filoromz commented 12 years ago

Basic Item abstract class has been created. Concrete Item classes should be created which extends this class.