private void SpawnFeather()
        {
            Feather feather = new Feather(new Rectangle(rectangle.X - 64, rectangle.Y - 64, 32, 32), ContentManager.Textures["feather"], new Vector2(10, 0));

            scene.QueryAddGameObject(new CloudSpark(rectangle.X - 64, rectangle.Y - 64));
            scene.QueryAddGameObject(feather);
        }
예제 #2
0
 public void GetHitByFeather(Feather feather)
 {
     player.SetState(MarioState.raccoon);
     player.BiggerCollisionBox();
     player.BiggerTexture();
     ContentManager.SoundEffects["Raccoon Leaf Obtained"].Play();
     player.MakeImmune();
     player.GotBigger();
 }
예제 #3
0
 public void GetHitByFeather(Feather feather)
 {
     player.SetState(MarioState.raccoon);
     ContentManager.SoundEffects["Raccoon Leaf Obtained"].Play();
     player.MakeImmune();
 }
예제 #4
0
 public void GetHitByFeather(Feather feather)
 {
     ContentManager.SoundEffects["Raccoon Leaf Obtained"].Play();
     player.MakeImmune();
 }