public static void EndTurn() { TacticsMove unit = turnTeam.Dequeue(); unit.EndMovement(); if (turnTeam.Count > 0) { StartTurn(); } else { // need to enqueue multiple times in Init to build up turnlist string team = turnKey.Dequeue(); turnKey.Enqueue(team); InitTeamTurnQueue(); } }