add receiving end of CreateGroup order
This commit is contained in:
21
OpenRA.Game/Traits/Player/ActorGroupProxy.cs
Normal file
21
OpenRA.Game/Traits/Player/ActorGroupProxy.cs
Normal 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 */
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user