public void Execute(Interactuable interactuable) { MenuMB.Instance.hide (true); if (interactuable.Interacted() == InteractuableResult.REQUIRES_MORE_INTERACTION) { this.next_interaction = interactuable; } }
public void Execute(Interactuable interactuable) { MenuMB.Instance.hide(true); if (interactuable.Interacted() == InteractuableResult.REQUIRES_MORE_INTERACTION) { this.next_interaction = interactuable; } }
public bool Execute(Interactuable interactuable) { MenuMB.Instance.hide(true); if (interactuable.Interacted() == InteractuableResult.REQUIRES_MORE_INTERACTION) { this.next_interaction = interactuable; return(true); } return(false); }
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); }
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; }