Cleaner access to InitialFacing and ROT

This commit is contained in:
Paul Chote
2010-07-31 21:55:49 +12:00
parent 765bedb592
commit 88cb942430
5 changed files with 8 additions and 9 deletions

View File

@@ -110,8 +110,8 @@ namespace OpenRA.Traits
float MovementCostForCell(Actor self, int2 cell);
float MovementSpeedForCell(Actor self, int2 cell);
IEnumerable<float2> GetCurrentPath(Actor self);
int ROT(Actor self);
int InitialFacing(Actor self);
int ROT { get; }
int InitialFacing { get; }
}
public interface IOffsetCenterLocation { float2 CenterOffset { get; } }