You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fields:
name :: the name or IP location of the Acquire Agent representing this player during the session
cash :: the amount of cash assets this Player possesses
stocks[ ] :: a list of the stocks owned by this Player, and quantities thereof
tilesInHand[ ] :: a list of the tiles currently in this Player's hand
Statistics for winning/losing/other metrics
Methods:
getName( ) :: returns the name or IP location of this Player's representative Acquire Agent
get/setCash( ) :: returns or sets the amount of cash this Player currently possesses
get/setNumStocks (string chain) :: returns or sets the quantity of stocks owned by this Player in hotel chain "chain"
addStocks (string chain, int quantity) :: adds "quantity" of stocks in hotel chain "chain" to this Player's stocks
removeStocks (string chain, int quantity) :: removes "quantity" of stocks in hotel chain "chain" from this Player's stocks
getTileFromHand (string tile) :: removes "tile" from this Player's hand
addTileToHand (string tile) :: adds "tile" to this Player's hand
The text was updated successfully, but these errors were encountered:
Fields:
name :: the name or IP location of the Acquire Agent representing this player during the session
cash :: the amount of cash assets this Player possesses
stocks[ ] :: a list of the stocks owned by this Player, and quantities thereof
tilesInHand[ ] :: a list of the tiles currently in this Player's hand
Statistics for winning/losing/other metrics
Methods:
getName( ) :: returns the name or IP location of this Player's representative Acquire Agent
get/setCash( ) :: returns or sets the amount of cash this Player currently possesses
get/setNumStocks (string chain) :: returns or sets the quantity of stocks owned by this Player in hotel chain "chain"
addStocks (string chain, int quantity) :: adds "quantity" of stocks in hotel chain "chain" to this Player's stocks
removeStocks (string chain, int quantity) :: removes "quantity" of stocks in hotel chain "chain" from this Player's stocks
getTileFromHand (string tile) :: removes "tile" from this Player's hand
addTileToHand (string tile) :: adds "tile" to this Player's hand
The text was updated successfully, but these errors were encountered: