Closed ghost closed 7 years ago
Other updates to the repo:
Update highlights: -- Weapon, Potion, and Spell classes have been reworked/restructured with the addition of the Item class. -- Inventory class added and implemented in Shop and MainCharacter. -- Various small tweaks to comments and layout. Updated the README to reflect the current status of the GUI version. -- 'Scaffolding' created for future class implementations (StartDisplay) -- Shop is now semi-functional. Items disappear from menu when purchased -- Goblin figure has been implemented exactly like MainCharacterFigure for the purpose of testing displaying and movement of the Goblin character within the game. (GoblinFIgure will be updated in future).
Issue #11: The GameMaps class sets the framework for different types of maps to be created. But since the game's current map cannot be changed (currently), the only way to see this is to manually change which GameMaps constructor is used in the Games class.
Issue #9: Additional functionality was added to the shop by making a ShopDisplay constructor that takes a MainCharacter as an input. When purchasing an item, whether or not the item is still in the shop is taken into consideration, and the MainCharacter is able to put purchased Weapons into their inventory if they have the proper amount of gold (although, since gold can't currently be acquired in the game, this feature is currently unreachable). The amount of gold the MainCharacter has is then subsequently decreased.