C# Class OpenRA.Mods.Common.Activities.MoveWithinRange

Inheritance: MoveAdjacentTo
Afficher le fichier Open project: pchote/OpenRA

Méthodes publiques

Méthode Description
MoveWithinRange ( Actor self, Target target, WDist minRange, WDist maxRange ) : System.Collections.Generic

Méthodes protégées

Méthode Description
CandidateMovementCells ( Actor self ) : IEnumerable
ShouldRepath ( Actor self, CPos oldTargetPosition ) : bool
ShouldStop ( Actor self, CPos oldTargetPosition ) : bool

Private Methods

Méthode Description
AtCorrectRange ( WPos origin ) : bool

Method Details

CandidateMovementCells() protected méthode

protected CandidateMovementCells ( Actor self ) : IEnumerable
self Actor
Résultat IEnumerable

MoveWithinRange() public méthode

public MoveWithinRange ( Actor self, Target target, WDist minRange, WDist maxRange ) : System.Collections.Generic
self Actor
target OpenRA.Traits.Target
minRange WDist
maxRange WDist
Résultat System.Collections.Generic

ShouldRepath() protected méthode

protected ShouldRepath ( Actor self, CPos oldTargetPosition ) : bool
self Actor
oldTargetPosition CPos
Résultat bool

ShouldStop() protected méthode

protected ShouldStop ( Actor self, CPos oldTargetPosition ) : bool
self Actor
oldTargetPosition CPos
Résultat bool