Ejemplo n.º 1
0
 public override void ActiveTransition()
 {
     if (this.CurrentItemState is EmergingItemState)
     {
         Coin();
     }
     else
     {
         ChangeItemState(this.ItemSM.Active);
         CurrentItemState.ActiveTransition();
     }
 }
Ejemplo n.º 2
0
 public virtual void ActiveTransition()
 {
     ChangeItemState(this.ItemSM.Active);
     CurrentItemState.ActiveTransition();
 }