|
void | SetUp (string name, int cost, int propertyNumber, int rent1, int rent2, string utilType) |
|
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 () |
|
|
override void | SetCard () |
| Sets the visual tile card from a prefab depending on the type of the tile.
|
|
override void | PayRent (Player player) |
| Handles paying rent to the owner of this property. This functionality is specific to properties.
|
|
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 () |
|
void | ShowOutline () |
|
virtual void | OnMouseEnter () |
|
virtual void | OnMouseExit () |
|
|
int | CurrentRent |
|
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] |
|
◆ PayRent()
override void Tiles.Utility.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 from Tiles.Property.
◆ SetCard()
override void Tiles.Utility.SetCard |
( |
| ) |
|
|
protectedvirtual |
Sets the visual tile card from a prefab depending on the type of the tile.
Reimplemented from Tiles.Tile.
The documentation for this class was generated from the following file:
- PropertyTycoon/Assets/Scripts/Tiles/Utility.cs