Tidy up OutOfSync, Blaming of Tick, ToString in Order

This commit is contained in:
alzeih
2010-04-08 17:30:10 +12:00
committed by Bob
parent c8bc0c51cd
commit 6d2f2378e9
2 changed files with 35 additions and 18 deletions

View File

@@ -131,6 +131,13 @@ namespace OpenRA
throw new NotImplementedException();
}
}
public override string ToString()
{
return "OrderString: \"{0}\" \n\t Subject: \"{0}\"." +
"\n\t TargetActor: \"{0}\" \n\t TargetLocation: {0}.\n\t TargetString: \"{0}\".\n\t IsImmediate: {0}.\n".F(
OrderString, Subject, TargetActor, TargetLocation, TargetString, IsImmediate);
}
static uint UIntFromActor(Actor a)
{