public void Damage() { context.PowerState = context.GetDeadMarioState(); context.SetCurrentState(MarioState.Dead); context.PowerState.Transition(); }
public void Damage() { context.PowerState = context.GetDeadMarioState(); context.SetCurrentState(MarioState.Dead); context.PowerState.Transition(); }