C# Класс OpenRA.Mods.Common.Activities.MoveAdjacentTo

Наследование: Activity
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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