public static void Endturn() { TacticsMove unit = turnTeam.Dequeue(); unit.Endturn(); if (turnTeam.Count > 0) { StartTurn(); } else { string team = turnKey.Dequeue(); turnKey.Enqueue(team); InitTeamTurnQueue(); } }