added contrast to range circle

This commit is contained in:
Sascha Biedermann
2013-03-20 18:53:28 +01:00
parent 7c31a8f28e
commit 35f4230984
4 changed files with 30 additions and 10 deletions

View File

@@ -22,9 +22,11 @@ namespace OpenRA.Mods.RA
if (self.Owner != self.World.LocalPlayer)
return;
wr.DrawRangeCircle(
wr.DrawRangeCircleWithContrast(
Color.FromArgb(128, Color.LimeGreen),
self.CenterLocation.ToFloat2(), self.Info.Traits.Get<DetectCloakedInfo>().Range);
self.CenterLocation.ToFloat2(), self.Info.Traits.Get<DetectCloakedInfo>().Range,
Color.FromArgb(96, Color.Black),
1);
}
}
}