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); }
public void GetHitByFeather(Feather feather) { player.SetState(MarioState.raccoon); player.BiggerCollisionBox(); player.BiggerTexture(); ContentManager.SoundEffects["Raccoon Leaf Obtained"].Play(); player.MakeImmune(); player.GotBigger(); }
public void GetHitByFeather(Feather feather) { player.SetState(MarioState.raccoon); ContentManager.SoundEffects["Raccoon Leaf Obtained"].Play(); player.MakeImmune(); }
public void GetHitByFeather(Feather feather) { ContentManager.SoundEffects["Raccoon Leaf Obtained"].Play(); player.MakeImmune(); }