Add IMove.EstimatedMoveDuration.

This commit is contained in:
Paul Chote
2018-09-29 21:05:24 +01:00
committed by abcdefg30
parent 3b16938ae5
commit 588a5d784f
4 changed files with 18 additions and 0 deletions

View File

@@ -399,6 +399,7 @@ namespace OpenRA.Mods.Common.Traits
Activity MoveToTarget(Actor self, Target target);
Activity MoveIntoTarget(Actor self, Target target);
Activity VisualMove(Actor self, WPos fromPos, WPos toPos);
int EstimatedMoveDuration(Actor self, WPos fromPos, WPos toPos);
CPos NearestMoveableCell(CPos target);
bool IsMoving { get; set; }
bool IsMovingVertically { get; set; }