renamed in Mobile.CurrentAction: "Action" -> "Activity"

This commit is contained in:
Bob
2009-10-26 18:57:12 +13:00
parent 20fed17306
commit 384a3ee2e9
4 changed files with 34 additions and 34 deletions

View File

@@ -37,13 +37,13 @@ namespace OpenRa.Game.Traits
public override void Apply()
{
var mobile = Unit.traits.Get<Mobile>();
mobile.QueueAction( new Mobile.Turn( 96 ) );
mobile.QueueAction( new DeployAction() );
mobile.QueueActivity( new Mobile.Turn( 96 ) );
mobile.QueueActivity( new DeployAction() );
}
class DeployAction : Mobile.CurrentAction
class DeployAction : Mobile.CurrentActivity
{
public Mobile.CurrentAction NextAction { get; set; }
public Mobile.CurrentActivity NextActivity { get; set; }
public void Tick( Actor self, Mobile mobile )
{