using System; using System.Collections.Generic; using System.Text; using System; namespace Sprint2_actual.Commands { public class QuitCommand:ICommand { private Game1 game1; public QuitCommand(Game1 game) { this.game1 = game; } public void Execute() { game1.Exit(); } } }