Neo996 / vandopoly

Automatically exported from code.google.com/p/vandopoly
0 stars 0 forks source link

Purchase button not enabled after getting a "CardTypeMove" #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
After drawing a chance/community chest card that moves the player to a
property the purchase button is disabled. It should be enabled if the
property is unowned.

Original issue reported on code.google.com by a.maz...@gmail.com on 24 Mar 2010 at 2:06

GoogleCodeExporter commented 8 years ago
I looked at the code, and from what I can tell the button should behave 
appropriately
once the space.landOn(Player) is called (Plus all of the other possibilities ie.
owned/mortgaged).  Making the .landOn happen is another question though because
normally this functionality is implemented in the GameController.  I guess 
either the
board will have to be passed in, or a new notification will have to be set up.

Original comment by james.d....@gmail.com on 24 Mar 2010 at 6:22

GoogleCodeExporter commented 8 years ago
Fixed

Original comment by a.maz...@gmail.com on 25 Mar 2010 at 12:44