add receiving end of CreateGroup order
This commit is contained in:
@@ -84,6 +84,7 @@
|
|||||||
<Compile Include="Traits\AI\EmitInfantryOnSell.cs" />
|
<Compile Include="Traits\AI\EmitInfantryOnSell.cs" />
|
||||||
<Compile Include="Traits\AI\ReturnOnIdle.cs" />
|
<Compile Include="Traits\AI\ReturnOnIdle.cs" />
|
||||||
<Compile Include="Traits\Attack\AttackLeap.cs" />
|
<Compile Include="Traits\Attack\AttackLeap.cs" />
|
||||||
|
<Compile Include="Traits\Player\ActorGroupProxy.cs" />
|
||||||
<Compile Include="Traits\Player\PlayerResources.cs" />
|
<Compile Include="Traits\Player\PlayerResources.cs" />
|
||||||
<Compile Include="Traits\RevealsShroud.cs" />
|
<Compile Include="Traits\RevealsShroud.cs" />
|
||||||
<Compile Include="Traits\Player\ConquestVictoryConditions.cs" />
|
<Compile Include="Traits\Player\ConquestVictoryConditions.cs" />
|
||||||
|
|||||||
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 */
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -38,6 +38,7 @@ Player:
|
|||||||
UnitType: a10
|
UnitType: a10
|
||||||
ConquestVictoryConditions:
|
ConquestVictoryConditions:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
|
ActorGroupProxy:
|
||||||
|
|
||||||
World:
|
World:
|
||||||
GlobalDefaults:
|
GlobalDefaults:
|
||||||
|
|||||||
@@ -82,6 +82,7 @@ Player:
|
|||||||
FlareType: flare
|
FlareType: flare
|
||||||
ConquestVictoryConditions:
|
ConquestVictoryConditions:
|
||||||
PlayerResources:
|
PlayerResources:
|
||||||
|
ActorGroupProxy:
|
||||||
|
|
||||||
|
|
||||||
World:
|
World:
|
||||||
|
|||||||
Reference in New Issue
Block a user