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