public MainForm() { InitializeComponent(); game = Game.GetInstance(); game.PanelGame = gameField; game.LabScore = labScore; game.PanelPreview = panelPreview; gameField.Invalidate(); }
public static Game GetInstance() { if(INSTANCE == null) INSTANCE = new Game(); return INSTANCE; }