Move IsMovingVertically to IMove

- avoids an Aircraft trait look-up in #11886
- potentially useful for future additional locomotors (jumpjet), custom locomotors in external mods, possibly future updates to default ground locomotor (Mobile) with regard to behavior on slopes
This commit is contained in:
reaperrr
2016-10-02 20:27:03 +02:00
parent 4b8700bb97
commit 16d4ee0034
3 changed files with 6 additions and 2 deletions

View File

@@ -308,6 +308,7 @@ namespace OpenRA.Traits
Activity VisualMove(Actor self, WPos fromPos, WPos toPos);
CPos NearestMoveableCell(CPos target);
bool IsMoving { get; set; }
bool IsMovingVertically { get; set; }
bool CanEnterTargetNow(Actor self, Target target);
}