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