formatting in Building
This commit is contained in:
@@ -74,6 +74,7 @@ namespace OpenRA.Mods.RA.Buildings
|
|||||||
PowerManager PlayerPower;
|
PowerManager PlayerPower;
|
||||||
int2 pxPosition;
|
int2 pxPosition;
|
||||||
|
|
||||||
|
public int2 TopLeft { get { return topLeft; } }
|
||||||
public int2 PxPosition { get { return pxPosition; } }
|
public int2 PxPosition { get { return pxPosition; } }
|
||||||
|
|
||||||
public IEnumerable<string> ProvidesPrerequisites { get { yield return self.Info.Name; } }
|
public IEnumerable<string> ProvidesPrerequisites { get { yield return self.Info.Name; } }
|
||||||
@@ -106,11 +107,6 @@ namespace OpenRA.Mods.RA.Buildings
|
|||||||
PlayerPower.UpdateActor(self, GetPowerUsage());
|
PlayerPower.UpdateActor(self, GetPowerUsage());
|
||||||
}
|
}
|
||||||
|
|
||||||
public int2 TopLeft
|
|
||||||
{
|
|
||||||
get { return topLeft; }
|
|
||||||
}
|
|
||||||
|
|
||||||
Pair<int2,SubCell>[] occupiedCells;
|
Pair<int2,SubCell>[] occupiedCells;
|
||||||
public IEnumerable<Pair<int2, SubCell>> OccupiedCells() { return occupiedCells; }
|
public IEnumerable<Pair<int2, SubCell>> OccupiedCells() { return occupiedCells; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user