C# Class PlayerActionPlantTrees, tf_client

An action for planting trees on selected land.
Inheritance: PlayerAction
Afficher le fichier Open project: wids-eria/tf_client

Méthodes publiques

Méthode Description
IsPermittedOnResourceTile ( ResourceTile, tile ) : bool

Determines whether this action is permitted on the specified tile.

Méthodes protégées

Méthode Description
DisplayControlsContents ( ) : void

Displays the controls contents.

Put ( ResourceTileSelection, selection ) : IEnumerator

Forces a put of resource tile modifications using god mode.

This is a temporary solution for implementing actions with no server API point, and can eventually be removed.

Private Methods

Méthode Description
Start ( ) : void

Initialize gui styles.

Method Details

DisplayControlsContents() protected méthode

Displays the controls contents.
protected DisplayControlsContents ( ) : void
Résultat void

IsPermittedOnResourceTile() public méthode

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

Put() protected méthode

Forces a put of resource tile modifications using god mode.
This is a temporary solution for implementing actions with no server API point, and can eventually be removed.
protected Put ( ResourceTileSelection, selection ) : IEnumerator
selection ResourceTileSelection, /// The selection. ///
Résultat IEnumerator