C# Класс PlayerActionPlantTrees, tf_client

An action for planting trees on selected land.
Наследование: PlayerAction
Показать файл Открыть проект

Открытые методы

Метод Описание
IsPermittedOnResourceTile ( ResourceTile, tile ) : bool

Determines whether this action is permitted on the specified tile.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
Start ( ) : void

Initialize gui styles.

Описание методов

DisplayControlsContents() защищенный Метод

Displays the controls contents.
protected DisplayControlsContents ( ) : void
Результат void

IsPermittedOnResourceTile() публичный Метод

Determines whether this action is permitted on the specified tile.
public IsPermittedOnResourceTile ( ResourceTile, tile ) : bool
tile ResourceTile, /// The resource tile in question. ///
Результат bool

Put() защищенный Метод

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. ///
Результат IEnumerator