public GameScreen(XMain main) { xMain = main; InitializeComponent(); _game = new Game(pGameArea, pCastleArea); _game.UpdateScore += UpdateScore; _game.GameOver += GameOver; _game.HeartCounter += HeartCounter; }
public LoginScreen(XMain main) { InitializeComponent(); xMain = main; }