Cleaner access to InitialFacing and ROT
This commit is contained in:
@@ -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; } }
|
||||
|
||||
Reference in New Issue
Block a user