Beispiel #1
0
        private void PlayHitSequence(int row, int column, bool showAnimation)
        {
            if (showAnimation)
            {
                _utility.AddExplosion(row, column, this);
            }

            Audio.PlaySoundEffect(_resources.GameSound("Hit"));

            _utility.DrawAnimationSequence(this);
        }
        private static void PlayMissSequence(int row, int column, bool showAnimation)
        {
            if (showAnimation)
            {
                UtilityFunctions.AddSplash(row, column);
            }

            Audio.PlaySoundEffect(GameResources.GameSound("Miss"));

            UtilityFunctions.DrawAnimationSequence();
        }
        private static void PlayHitSequence(int row, int column, bool showAnimation)
        {
            if (showAnimation)
            {
                UtilityFunctions.AddExplosion(row, column);
            }

            Audio.PlaySoundEffect(GameResources.GameSound("Hit"));

            UtilityFunctions.DrawAnimationSequence();
        }