Moved Activity and friends into separate files.

This commit is contained in:
Bob
2009-11-02 20:22:12 +13:00
parent 279f13bc5b
commit ddc91ddafa
9 changed files with 400 additions and 372 deletions

View File

@@ -299,7 +299,7 @@ namespace OpenRa.Game
unit = new Actor(name, (1 / 24f * producer.CenterLocation).ToInt2(), player);
var mobile = unit.traits.Get<Mobile>();
mobile.facing = 128;
mobile.QueueActivity(new Mobile.MoveTo(unit.Location + new int2(0, 3)));
mobile.QueueActivity(new Traits.Activities.Move(unit.Location + new int2(0, 3)));
}
world.Add( unit );