예제 #1
0
 public static RunningMario RunningMario(IMario mario, IMarioState state)
 {
     return(new RunningMario(mario, state.IsRightFacing(), state.PowerLevel()));
 }
예제 #2
0
 public static CrouchingMario CrouchingMario(IMario mario, IMarioState state)
 {
     return(new CrouchingMario(mario, state.IsRightFacing(), state.PowerLevel()));
 }
예제 #3
0
 public static IdleMario IdleMario(IMario mario, IMarioState state)
 {
     return(new IdleMario(mario, state.IsRightFacing(), state.PowerLevel()));
 }