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

상속: Activity
파일 보기 프로젝트 열기: pchote/OpenRA

보호된 프로퍼티들

프로퍼티 타입 설명
targetPosition CPos

공개 메소드들

메소드 설명
Cancel ( Actor self ) : bool
GetTargets ( Actor self ) : IEnumerable
MoveAdjacentTo ( Actor self, Target target ) : System.Collections.Generic
Tick ( Actor self ) : Activity

보호된 메소드들

메소드 설명
CandidateMovementCells ( Actor self ) : IEnumerable
ShouldRepath ( Actor self, CPos oldTargetPosition ) : bool
ShouldStop ( Actor self, CPos oldTargetPosition ) : bool

비공개 메소드들

메소드 설명
CalculatePathToTarget ( Actor self ) : List

메소드 상세

Cancel() 공개 메소드

public Cancel ( Actor self ) : bool
self Actor
리턴 bool

CandidateMovementCells() 보호된 메소드

protected CandidateMovementCells ( Actor self ) : IEnumerable
self Actor
리턴 IEnumerable

GetTargets() 공개 메소드

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

MoveAdjacentTo() 공개 메소드

public MoveAdjacentTo ( Actor self, Target target ) : System.Collections.Generic
self Actor
target OpenRA.Traits.Target
리턴 System.Collections.Generic

ShouldRepath() 보호된 메소드

protected ShouldRepath ( Actor self, CPos oldTargetPosition ) : bool
self Actor
oldTargetPosition CPos
리턴 bool

ShouldStop() 보호된 메소드

protected ShouldStop ( Actor self, CPos oldTargetPosition ) : bool
self Actor
oldTargetPosition CPos
리턴 bool

Tick() 공개 메소드

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

프로퍼티 상세

targetPosition 보호되어 있는 프로퍼티

protected CPos targetPosition
리턴 CPos