public Squad(Queue <IMoveAction> actions, List <Squad> squadList, IdGenerator idGenerator) { Id = idGenerator.New; actions.ActionAssignSelectionToSquad(Id); squadList.Add(this); IsCreated = false; IsEnabled = true; UpdateLastCallTime(MyStrategy.Universe.World.TickIndex); }
public Squad(Queue <IMoveAction> actions, List <Squad> squadList, int id, VehicleType type) { Id = id; actions.ActionSelectVenicleType(type); actions.ActionAssignSelectionToSquad(id); squadList.Add(this); IsCreated = false; IsEnabled = true; UpdateLastCallTime(MyStrategy.Universe.World.TickIndex); }