Add world coord overloads to IOccupySpace and IPositionable.
This commit is contained in:
@@ -26,7 +26,8 @@ namespace OpenRA.Mods.RA
|
||||
{
|
||||
[Sync] CPos location;
|
||||
|
||||
[Sync] public PPos PxPosition { get; set; }
|
||||
public WPos CenterPosition { get { return PxPosition.ToWPos(0); } }
|
||||
[Sync] public PPos PxPosition { get; private set; }
|
||||
public int Altitude { get { return 0; } set { } }
|
||||
|
||||
[Sync] public int Facing { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user