예제 #1
0
 public void Execute(Interactuable interactuable)
 {
     MenuMB.Instance.hide (true);
     if (interactuable.Interacted() == InteractuableResult.REQUIRES_MORE_INTERACTION) {
         this.next_interaction = interactuable;
     }
 }
예제 #2
0
 public void Execute(Interactuable interactuable)
 {
     MenuMB.Instance.hide(true);
     if (interactuable.Interacted() == InteractuableResult.REQUIRES_MORE_INTERACTION)
     {
         this.next_interaction = interactuable;
     }
 }
예제 #3
0
 public bool Execute(Interactuable interactuable)
 {
     MenuMB.Instance.hide(true);
     if (interactuable.Interacted() == InteractuableResult.REQUIRES_MORE_INTERACTION)
     {
         this.next_interaction = interactuable;
         return(true);
     }
     return(false);
 }
예제 #4
0
        private bool InteractWith(Interactuable interacted)
        {
            bool exit = false;

            next_interaction = null;
            switch (interacted.Interacted())
            {
            case InteractuableResult.DOES_SOMETHING:
                exit = true;
                break;

            case InteractuableResult.REQUIRES_MORE_INTERACTION:
                exit             = true;
                next_interaction = interacted;
                break;

            case InteractuableResult.IGNORES:
            default:
                break;
            }
            return(exit);
        }
예제 #5
0
 private bool InteractWith(Interactuable interacted)
 {
     bool exit = false;
     next_interaction = null;
     switch (interacted.Interacted ()) {
         case InteractuableResult.DOES_SOMETHING:
             exit = true;
             break;
         case InteractuableResult.REQUIRES_MORE_INTERACTION:
             exit = true;
             next_interaction = interacted;
             break;
         case InteractuableResult.IGNORES:
         default:
             break;
     }
     return exit;
 }