public static bool GoAsUnit(PirateGame game) { bool startgo = false; List <Drone> livingdrones = game.GetMyLivingDrones(); if (livingdrones != null) { if (livingdrones.Count >= game.GetMaxDronesCount()) { startgo = true; } } return(startgo); }