예제 #1
0
 public void Flower()
 {
     context.PowerState = context.GetFireMarioState();
     context.SetCurrentState(MarioState.Fire);
     context.WidthHeight = new Vector2(MarioSpriteFactory.BIG_MARIO_WIDTH, MarioSpriteFactory.BIG_MARIO_WIDTH);
     context.GrowUp();
     context.PowerState.Transition();
 }
예제 #2
0
 public void Flower()
 {
     context.PowerState = context.GetFireMarioState();
     context.SetCurrentState(MarioState.Fire);
     context.WidthHeight = new Microsoft.Xna.Framework.Vector2(MarioSpriteFactory.BIG_MARIO_WIDTH, MarioSpriteFactory.BIG_MARIO_HEIGHT);
     context.GrowUp();
     context.PowerState.Transition();
 }
예제 #3
0
 public void ChangeToFireMario()
 {
     context.PowerState = context.GetSuperMarioState();
     context.SetCurrentState(MarioState.Fire);
     context.WidthHeight = new Vector2(MarioSpriteFactory.BIG_MARIO_WIDTH, MarioSpriteFactory.BIG_MARIO_HEIGHT);
     context.GrowUp();
     context.PowerState.Transition();
 }