formatting in Building

This commit is contained in:
Chris Forbes
2011-05-07 11:23:17 +12:00
parent b3908606c3
commit 83c80377d0

View File

@@ -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; }