interfaces cleanup

This commit is contained in:
Chris Forbes
2011-04-16 11:26:43 +12:00
committed by Paul Chote
parent 8a4f49485b
commit 9bd5c153ad

View File

@@ -82,11 +82,8 @@ namespace OpenRA.Traits
}
public interface IVisibilityModifier { bool IsVisible(Actor self); }
public interface IRadarColorModifier { Color RadarColorOverride(Actor self); }
public interface IHasLocation
{
int2 PxPosition { get; }
}
public interface IRadarColorModifier { Color RadarColorOverride(Actor self); }
public interface IHasLocation { int2 PxPosition { get; } }
public enum SubCell
{
@@ -141,12 +138,9 @@ namespace OpenRA.Traits
void SetPosition(Actor self, int2 cell);
void SetPxPosition(Actor self, int2 px);
void AdjustPxPosition(Actor self, int2 px); /* works like SetPxPosition, but visual only */
}
public interface IMove : ITeleportable
{
int Altitude { get; set; }
}
}
public interface IMove : ITeleportable { int Altitude { get; set; } }
public interface IFacing
{