Example #1
0
        private void Initialise(int score = 0, int lives = Constants.InitialPlayerLives)
        {
            InteropKeyPress.KeyDown += OnKeyDown;
            InteropKeyPress.KeyUp   += OnKeyUp;
            //InteropKeyPress.KeyPress += OnKeyPress;
            SoundHelper.InitialiseSound();

            InitialiseGame(score, lives);
            StateHasChanged();
        }