Exemplo n.º 1
0
        private static void PlayMissSequence(int row, int column, bool showAnimation)
        {
            if (showAnimation)
            {
                UtilityFunctions.AddSplash(row, column);
            }

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

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

            GameResources.PlaySound("Hit");

            UtilityFunctions.DrawAnimationSequence();
        }