Remove hardcoded cursor bs; move TransformsOnDeploy to Mods.RA.

This commit is contained in:
Paul Chote
2010-07-08 20:23:19 +12:00
parent ac3924e660
commit df3581237e
22 changed files with 138 additions and 63 deletions

View File

@@ -30,7 +30,7 @@ namespace OpenRA.Mods.RA
public override object Create( ActorInitializer init ) { return new Plane( init ); }
}
public class Plane : Aircraft, IIssueOrder, IResolveOrder
public class Plane : Aircraft, IIssueOrder, IResolveOrder, IProvideCursor
{
public IDisposable reservation;
@@ -50,7 +50,12 @@ namespace OpenRA.Mods.RA
return null;
}
public string CursorForOrderString(string s, Actor a, int2 location)
{
return (s == "Enter") ? "enter" : null;
}
public void ResolveOrder(Actor self, Order order)
{
if (reservation != null)