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

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

            koopaTroopa.EnemyState = state;
        }