Cleaner access to InitialFacing and ROT
This commit is contained in:
@@ -45,9 +45,9 @@ namespace OpenRA.Mods.RA
|
||||
get { return Location; }
|
||||
}
|
||||
|
||||
public int ROT(Actor self){ return Info.ROT; }
|
||||
public int ROT { get { return Info.ROT; } }
|
||||
|
||||
public int InitialFacing(Actor self){ return Info.InitialFacing; }
|
||||
public int InitialFacing { get { return Info.InitialFacing; } }
|
||||
|
||||
public void SetPosition(Actor self, int2 cell)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user