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

@@ -327,6 +327,7 @@ namespace OpenRA.Mods.Common.Traits
readonly Actor self;
readonly Lazy<IEnumerable<int>> speedModifiers;
public bool IsMoving { get; set; }
public bool IsMovingVertically { get { return false; } set { } }
int facing;
CPos fromCell, toCell;