CSC207-2022F-UofT / course-project-monopolymen

Java Swing full recreation of Monopoly in the Clean Architecture
5 stars 3 forks source link

Created the DrawCardTile class #64

Closed TahirLeonenko closed 1 year ago

TahirLeonenko commented 1 year ago

Added a method to Board that picks the first card in a card deck and moves it to the back of the deck and then returns the card. Added a DrawCardTile class that uses the method in Board to pick a card, then uses the Cards action method to get a CardActionResultModel (action also does the action of the card) and then returns the model to MovePlayerUseCase