public void TakeDamageTransition(KoopaTroopa koopatroopa)
        {
            deadKoopaTroopa = koopatroopa.Content.Load <SoundEffect>("Sound Effects/Stomp");
            deadKoopaTroopa.Play();
            var state = new DeadKoopaTroopaState();

            koopatroopa.EnemyState = state;
        }
Exemple #2
0
        public void TakeDamageTransition(KoopaTroopa koopaTroopa)
        {
            var state = new DeadKoopaTroopaState();

            koopaTroopa.EnemyState = state;
        }