3902-dream-team / main-project

0 stars 0 forks source link

Item Classes #24

Open elisekosm opened 3 years ago

Chaeun26 commented 3 years ago

I add three items to work, but I think there is a better way that I did. (Mine is just idea/draft)

elisekosm commented 3 years ago

changed the structure of items to states for types so a single item can switch its type I created all the classes for items, but the details need to be added

elisekosm commented 3 years ago

made next and prev item method a state machine in Item.cs rather than using individual methods in each item state class

Chaeun26 commented 3 years ago

Added items on SpriteDict and all item classes (they are connected by switch-case in prev/next method)

Chaeun26 commented 3 years ago

Remove magic number and add an array. (Change movement of the angel item)

elisekosm commented 3 years ago

add all missing item classes, move duplicate code into a method, items now done for sprint 2

elisekosm commented 3 years ago

need to make angel move