K-Mistele / seeker-of-the-sword

ascii-character adventure code written into console via python
Other
5 stars 0 forks source link

Refactor/inventory #63

Closed K-Mistele closed 6 years ago

K-Mistele commented 6 years ago

Inventory Refactoring

  1. Inventory is now a class
  2. method for class to import items from a source (possible TODO: export)
  3. Random content generation is now part of the inventory class, and will be passed by the chest class.
  4. Dying is now a method of the monster class.