not java.

This commit is contained in:
Chris Forbes
2010-12-27 12:17:36 +13:00
parent c6f1740875
commit e2a0134c5b

View File

@@ -168,7 +168,7 @@ namespace OpenRA.Mods.RA
IEnumerable<Order> OrderInner(World world, int2 xy, MouseInput mi)
{
// Cannot chronoshift into unexplored location
if (isValidTarget(xy))
if (IsValidTarget(xy))
yield return new Order(order, manager.self, false)
{
TargetLocation = xy,
@@ -221,7 +221,7 @@ namespace OpenRA.Mods.RA
}
}
bool isValidTarget(int2 xy)
bool IsValidTarget(int2 xy)
{
var canTeleport = false;
foreach (var unit in power.UnitsInRange(sourceLocation))
@@ -238,7 +238,7 @@ namespace OpenRA.Mods.RA
public string GetCursor(World world, int2 xy, MouseInput mi)
{
return isValidTarget(xy) ? "chrono-target" : "move-blocked";
return IsValidTarget(xy) ? "chrono-target" : "move-blocked";
}
}
}