split IOrder

This commit is contained in:
Chris Forbes
2010-01-09 11:49:12 +13:00
parent 6f28dade1e
commit c344045955
25 changed files with 28 additions and 52 deletions

View File

@@ -6,7 +6,7 @@ using IjwFramework.Collections;
namespace OpenRa.Game.Traits
{
class ProductionQueue : IOrder, ITick
class ProductionQueue : IResolveOrder, ITick
{
Actor self;
@@ -22,12 +22,6 @@ namespace OpenRa.Game.Traits
(p.Value)[0].Tick( self.Owner );
}
public Order IssueOrder( Actor self, int2 xy, MouseInput mi, Actor underCursor )
{
// production isn't done by clicks in the world; the chrome handles it.
return null;
}
public void ResolveOrder( Actor self, Order order )
{
switch( order.OrderString )