C# 클래스 OpenRA.Mods.Common.Activities.FindResources

상속: Activity
파일 보기 프로젝트 열기: pchote/OpenRA 1 사용 예제들

공개 메소드들

메소드 설명
FindResources ( Actor self ) : System.Collections.Generic
FindResources ( Actor self, CPos avoidCell ) : System.Collections.Generic
GetTargets ( Actor self ) : IEnumerable
Tick ( Actor self ) : Activity

비공개 메소드들

메소드 설명
ClosestHarvestablePos ( Actor self ) : CPos?

Finds the closest harvestable pos between the current position of the harvester and the last order location

메소드 상세

FindResources() 공개 메소드

public FindResources ( Actor self ) : System.Collections.Generic
self Actor
리턴 System.Collections.Generic

FindResources() 공개 메소드

public FindResources ( Actor self, CPos avoidCell ) : System.Collections.Generic
self Actor
avoidCell CPos
리턴 System.Collections.Generic

GetTargets() 공개 메소드

public GetTargets ( Actor self ) : IEnumerable
self Actor
리턴 IEnumerable

Tick() 공개 메소드

public Tick ( Actor self ) : Activity
self Actor
리턴 Activity