Harvesting works better, and other related stuff.

This commit is contained in:
Bob
2009-11-05 13:23:23 +13:00
parent 7e0b0541e2
commit edc4a8e6e7
12 changed files with 191 additions and 143 deletions

View File

@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenRa.Game.Traits.Activities;
namespace OpenRa.Game.Traits
{
@@ -14,7 +14,9 @@ namespace OpenRa.Game.Traits
w =>
{
var harvester = new Actor("harv", self.Location + new int2(1, 2), self.Owner);
harvester.traits.Get<Mobile>().facing = 64;
var mobile = harvester.traits.Get<Mobile>();
mobile.facing = 64;
mobile.InternalSetActivity( new Harvest() );
w.Add(harvester);
});
}