public static RunningMario RunningMario(IMario mario, IMarioState state) { return(new RunningMario(mario, state.IsRightFacing(), state.PowerLevel())); }
public static CrouchingMario CrouchingMario(IMario mario, IMarioState state) { return(new CrouchingMario(mario, state.IsRightFacing(), state.PowerLevel())); }
public static IdleMario IdleMario(IMario mario, IMarioState state) { return(new IdleMario(mario, state.IsRightFacing(), state.PowerLevel())); }