C# Class PlayerActionBuildOutpost, tf_client

An action for building research outposts.
Inheritance: PlayerAction
Datei anzeigen Open project: wids-eria/tf_client

Public Methods

Method Description
IsPermittedOnResourceTile ( ResourceTile, tile ) : bool

Determines whether this action is permitted on the specified tile.

Protected Methods

Method Description
CalculateCost ( ResourceTileLite, tiles ) : int
GetDoItWWW ( ResourceTileSelection, selection ) : WWW

Private Methods

Method Description
Awake ( ) : void

Initialize the tile modifications.

Method Details

CalculateCost() protected method

protected CalculateCost ( ResourceTileLite, tiles ) : int
tiles ResourceTileLite,
return int

GetDoItWWW() protected method

protected GetDoItWWW ( ResourceTileSelection, selection ) : WWW
selection ResourceTileSelection,
return WWW

IsPermittedOnResourceTile() public method

Determines whether this action is permitted on the specified tile.
public IsPermittedOnResourceTile ( ResourceTile, tile ) : bool
tile ResourceTile, /// The resource tile in question. ///
return bool