示例#1
0
        public void SwitchToFireMario(bool animate)
        {
            if (marioState.Equals(MarioState.LARGE))
            {
                SoundManager.PlaySound(Game1.marioPowerUpSound);
            }
            state.SwitchToFireMario(animate);


            marioState = MarioState.FIRE;
        }