C# 클래스 PlayerActionBuildHousing, tf_client

An action for building housing on a section of land.
상속: PlayerAction
파일 보기 프로젝트 열기: wids-eria/tf_client

공개 프로퍼티들

프로퍼티 타입 설명
buildings Building[],

Private Properties

프로퍼티 타입 설명
Awake void
Start void

공개 메소드들

메소드 설명
GetBuildingWithCapacity ( int capacity ) : Building,

Gets the building with capacity up to that specified.

IsPermittedOnResourceTile ( ResourceTile, tile ) : bool

Determines whether this action is permitted on the specified tile.

보호된 메소드들

메소드 설명
DisplayControlsContents ( ) : void

Displays the controls contents.

DoResourceCalculations ( ResourceTileSelection, selection ) : bool

비공개 메소드들

메소드 설명
Awake ( ) : void

Initialize field modifiers.

Start ( ) : void

Initialize the gui styles as needed.

메소드 상세

DisplayControlsContents() 보호된 메소드

Displays the controls contents.
protected DisplayControlsContents ( ) : void
리턴 void

DoResourceCalculations() 보호된 메소드

protected DoResourceCalculations ( ResourceTileSelection, selection ) : bool
selection ResourceTileSelection,
리턴 bool

GetBuildingWithCapacity() 공개 메소드

Gets the building with capacity up to that specified.
public GetBuildingWithCapacity ( int capacity ) : Building,
capacity int /// Capacity. ///
리턴 Building,

IsPermittedOnResourceTile() 공개 메소드

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

프로퍼티 상세

buildings 공개적으로 프로퍼티

The buildings.
public Building[], buildings
리턴 Building[],