PropertyTycoon
 
Loading...
Searching...
No Matches
Tiles.Station Class Reference
Inheritance diagram for Tiles.Station:
Tiles.Property Tiles.Tile

Public Member Functions

void SetUp (string name, int cost, int propertyNumber, int rent1, int rent2, int rent3, int rent4)
 
- Public Member Functions inherited from Tiles.Property
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.
 
- Public Member Functions inherited from Tiles.Tile
void SetUp (string name)
 
void ShowOutline (Color startColor, Color endColour)
 
void HideOutline ()
 

Protected Member Functions

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.
 
- Protected Member Functions inherited from Tiles.Property
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 ()
 
- Protected Member Functions inherited from Tiles.Tile
void ShowOutline ()
 
virtual void OnMouseEnter ()
 
virtual void OnMouseExit ()
 

Additional Inherited Members

- Protected Attributes inherited from Tiles.Property
int CurrentRent
 
- Properties inherited from Tiles.Property
Player OwnedBy [get, set]
 
int Cost [get]
 
int PropertyNumber [get]
 
bool Mortgaged [get, set]
 
int MortgagedValue [get]
 
int UnmortgagedValue [get]
 
- Properties inherited from Tiles.Tile
string Name [get, protected set]
 
GameObject Card [get, protected set]
 
bool InMortgageSelection [get, set]
 
bool InUnmortgageSelection [get, set]
 
bool InSellPropertySelection [get, set]
 

Member Function Documentation

◆ PayRent()

override void Tiles.Station.PayRent ( Player player)
protectedvirtual

Handles paying rent to the owner of this property. This functionality is specific to properties.

Parameters
playerThe player that needs to pay rent to the owner

Reimplemented from Tiles.Property.

◆ SetCard()

override void Tiles.Station.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: