Separated ship squad from ground unit squad
Just like aircrafts are independent from ground squads.
This commit is contained in:
@@ -17,7 +17,7 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.Common.AI
|
||||
{
|
||||
public enum SquadType { Assault, Air, Rush, Protection }
|
||||
public enum SquadType { Assault, Air, Rush, Protection, Naval }
|
||||
|
||||
public class Squad
|
||||
{
|
||||
@@ -54,6 +54,9 @@ namespace OpenRA.Mods.Common.AI
|
||||
case SquadType.Protection:
|
||||
FuzzyStateMachine.ChangeState(this, new UnitsForProtectionIdleState(), true);
|
||||
break;
|
||||
case SquadType.Naval:
|
||||
FuzzyStateMachine.ChangeState(this, new NavyUnitsIdleState(), true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user