C# 클래스 PlayerActionPlantTrees, tf_client

An action for planting trees on selected land.
상속: PlayerAction
파일 보기 프로젝트 열기: wids-eria/tf_client

공개 메소드들

메소드 설명
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