add receiving end of CreateGroup order

This commit is contained in:
Chris Forbes
2010-05-16 11:41:56 +12:00
parent 39c5877ebc
commit b871caa287
4 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OpenRA.Traits
{
class ActorGroupProxyInfo : TraitInfo<ActorGroupProxy> { }
class ActorGroupProxy : IResolveOrder
{
public void ResolveOrder(Actor self, Order order)
{
if (order.OrderString == "CreateGroup")
{
/* create a group */
}
}
}
}