Misc code improvements
This commit is contained in:
@@ -102,6 +102,10 @@ namespace OpenRA.Mods.Common.Traits
|
||||
public readonly Player Player;
|
||||
|
||||
readonly Predicate<Actor> unitCannotBeOrdered;
|
||||
readonly List<Actor> unitsHangingAroundTheBase = new List<Actor>();
|
||||
|
||||
// Units that the bot already knows about. Any unit not on this list needs to be given a role.
|
||||
readonly List<Actor> activeUnits = new List<Actor>();
|
||||
|
||||
public List<Squad> Squads = new List<Squad>();
|
||||
|
||||
@@ -110,10 +114,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
IBotNotifyIdleBaseUnits[] notifyIdleBaseUnits;
|
||||
|
||||
CPos initialBaseCenter;
|
||||
List<Actor> unitsHangingAroundTheBase = new List<Actor>();
|
||||
|
||||
// Units that the bot already knows about. Any unit not on this list needs to be given a role.
|
||||
List<Actor> activeUnits = new List<Actor>();
|
||||
|
||||
int rushTicks;
|
||||
int assignRolesTicks;
|
||||
|
||||
Reference in New Issue
Block a user