Beispiel #1
0
    public override void RespondToInput(gameNavigation controller, string[] seperatedWords)
    {
        Dictionary <string, string> fontDictionary = controller.interactableItems.FontSize(seperatedWords);

        if (fontDictionary != null)
        {
            controller.LogStringWithReturn(controller.VerbDictionary(fontDictionary, seperatedWords[0], seperatedWords[1]));
        }
    }
    private void Awake()
    {
        controller = GetComponent <gameNavigation>();

        //disable buttons
        buttonToUnlock1.interactable = false;
        buttonToUnlock2.interactable = false;
        buttonToUnlock3.interactable = false;
    }
 public override void RespondToInput(gameNavigation controller, string[] seperatedWords)
 {
     controller.interactableItems.DisplayHelp();
 }
 public override void RespondToInput(gameNavigation controller, string[] seperatedWords)
 {
     controller.LogStringWithReturn(controller.VerbDictionary(controller.interactableItems.createDictionary, seperatedWords[0], seperatedWords[1]));
 }
 private void Awake()
 {
     controller = GetComponent <gameNavigation>();
 }
Beispiel #6
0
 public override void RespondToInput(gameNavigation controller, string[] seperatedWords)
 {
     controller.commandNavigation.AttemptToCommand(seperatedWords[1]);
 }
Beispiel #7
0
 public abstract void RespondToInput(gameNavigation controller, string[] seperatedWords);
 public abstract bool DoActionResponse(gameNavigation controller);
 void Awake()
 {
     controller = GetComponent <gameNavigation>();
     inputField.onEndEdit.AddListener(AcceptStringInput);
 }