Esempio n. 1
0
 public void Execute()
 {
     if (receiver.PowerState is SmallState)
     {
         //receiver.DeadMario();
         receiver.Die();
     }
     else if (receiver.PowerState is SuperState)
     {
         receiver.SmallMario();
     }
     else if (receiver.PowerState is FireState)
     {
         receiver.SmallMario();
     }
 }
Esempio n. 2
0
 public void Execute()
 {
     receiver.SmallMario();
 }