Monopoly
Interface Interactive

All Known Implementing Classes:
Card, Cell, Company, GetFromEveryPlayer, GetMoneyCard, GetOutOfJailCard, GoToJail, GoToJailCard, MoneyCard, MoveBackCard, MoveToCard, NearestCompanyCard, NearestTrainStationCard, PayForEveryBuilding, PayMoneyCard, PayToEveryPlayer, PickCard, Property, Street, Taxes, TrainStation

public interface Interactive

This interface has the characteristicts of all the cells or cards of Monopoly which can perform an action.

See Also:
Cell, Card

Method Summary
 void act(Monopoly game)
          Performs the action of the Interactive object.
 

Method Detail

act

void act(Monopoly game)
Performs the action of the Interactive object.

Pre: the parameter must be a valid instance of class Monopoly that will offer access to the game's state
Post: the state of the game will be altered according to the instance which implements the method.

Parameters:
game - the Monopoly instance that represents the game.