Inherits from tile class, describes a purchasable tile that can be owned by a player or the bank.
More...
|
override void | OnLanded (Player player) |
| Handles functionality for player landing on this tile.
|
|
void | Mortgage () |
| Mortgages this property.
|
|
void | SellProperty () |
| Sells this property to the bank.
|
|
void | SetUp (string name) |
|
void | ShowOutline (Color startColor, Color endColour) |
|
void | HideOutline () |
|
|
void | SetUp (string name, int cost, int propertyNumber) |
|
override void | SetBoardTile () |
| Sets the name/cost text of this tile on the board.
|
|
override void | ShowCard () |
|
override void | HideCard () |
|
virtual void | PayRent (Player player) |
| Handles paying rent to the owner of this property. This functionality is specific to properties.
|
|
virtual void | SetCard () |
| Sets the visual tile card from a prefab depending on the type of the tile.
|
|
void | ShowOutline () |
|
virtual void | OnMouseEnter () |
|
virtual void | OnMouseExit () |
|
|
Player | OwnedBy [get, set] |
|
int | Cost [get] |
|
int | PropertyNumber [get] |
|
bool | Mortgaged [get, set] |
|
int | MortgagedValue [get] |
|
int | UnmortgagedValue [get] |
|
string | Name [get, protected set] |
|
GameObject | Card [get, protected set] |
|
bool | InMortgageSelection [get, set] |
|
bool | InUnmortgageSelection [get, set] |
|
bool | InSellPropertySelection [get, set] |
|
Inherits from tile class, describes a purchasable tile that can be owned by a player or the bank.
◆ HideCard()
override void Tiles.Property.HideCard |
( |
| ) |
|
|
protectedvirtual |
◆ OnLanded()
override void Tiles.Property.OnLanded |
( |
Player | player | ) |
|
|
virtual |
Handles functionality for player landing on this tile.
- Parameters
-
player | The player that landed on the tile |
Reimplemented from Tiles.Tile.
◆ PayRent()
virtual void Tiles.Property.PayRent |
( |
Player | player | ) |
|
|
protectedvirtual |
Handles paying rent to the owner of this property. This functionality is specific to properties.
- Parameters
-
player | The player that needs to pay rent to the owner |
Reimplemented in Tiles.Station, Tiles.Street, and Tiles.Utility.
◆ SetBoardTile()
override void Tiles.Property.SetBoardTile |
( |
| ) |
|
|
protectedvirtual |
Sets the name/cost text of this tile on the board.
Reimplemented from Tiles.Tile.
◆ ShowCard()
override void Tiles.Property.ShowCard |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file:
- PropertyTycoon/Assets/Scripts/Tiles/Property.cs