Add AlwaysConsiderTurnAsMove plumbing to Mobile

Can be used to make walker units like the TS mechs display move animations while turning on the spot.
This commit is contained in:
reaperrr
2018-06-10 00:39:48 +02:00
committed by reaperrr
parent 755cc40459
commit 6984c0ec10
2 changed files with 8 additions and 0 deletions

View File

@@ -35,6 +35,9 @@ namespace OpenRA.Mods.Common.Traits
[Desc("Speed at which the actor turns.")]
public readonly int TurnSpeed = 255;
[Desc("Should turning always be considering as moving (instead of only turning while moving forward).")]
public readonly bool AlwaysConsiderTurnAsMove = false;
public readonly int Speed = 1;
public readonly string Cursor = "move";