Ejemplo n.º 1
0
 public void TriggerStartSpeach(GameController.Choise choise)
 {
     Debug.Log("Starter Dialog");
     switch (choise)
     {
     case GameController.Choise.player:
         StartDialogue(GetComponent <DialogueList>().StarterSpeach, "Player");
         break;
     }
 }
Ejemplo n.º 2
0
    public void MoveToNextEventTrigger()
    {
        GameController.Choise choise = GameController.Choise.started;
        switch (type)
        {
        case "sheep":
            choise = GameController.Choise.Sacrificesheep;
            break;

        case "human":
            choise = GameController.Choise.SacrificeHuman;
            break;
        }

        handler.GetComponent <GameController>().GenerateEvent(choise);
    }
Ejemplo n.º 3
0
    public void TriggerDialog()
    {
        GameController.Choise choise = GameController.Choise.started;
        switch (type)
        {
        case "sheep":
            choise = GameController.Choise.Sacrificesheep;
            break;

        case "human":
            choise = GameController.Choise.SacrificeHuman;
            break;

        case "dragon":
            choise = GameController.Choise.SlapaDragon;
            break;

        case "flip":
            choise = GameController.Choise.SlapaDragon;
            break;

        case "eye":
            choise = GameController.Choise.SlapaDragon;
            break;

        case "giraffe":
            choise = GameController.Choise.SlapaDragon;
            break;

        case "baby":
            choise = GameController.Choise.SlapaDragon;
            break;

        case "hand":
            choise = GameController.Choise.SlapaDragon;
            break;
        }

        handler.GetComponent <GameController>().TriggerDialog(choise);
    }
Ejemplo n.º 4
0
    public void Trigger(GameController.Choise choise)
    {
        switch (choise)
        {
        case GameController.Choise.player:
            StartDialogue(GetComponent <DialogueList>().PlayerSpeach, "Player");
            break;

        case GameController.Choise.Sacrificesheep:
            StartDialogue(GetComponent <DialogueList>().SheepChoise, "Player");
            break;

        case GameController.Choise.SlapaDragon:
            StartDialogue(GetComponent <DialogueList>().DragonChoise, "Player");
            break;

        case GameController.Choise.HugaGiraffe:
            StartDialogue(GetComponent <DialogueList>().GiraffeChoise, "Player");
            break;

        case GameController.Choise.Sacrificeababy:
            StartDialogue(GetComponent <DialogueList>().PlayerSpeach, "Player");
            break;

        case GameController.Choise.Sacrificeahand:
            StartDialogue(GetComponent <DialogueList>().PlayerSpeach, "Player");
            break;

        case GameController.Choise.Sacrificeaneye:
            StartDialogue(GetComponent <DialogueList>().PlayerSpeach, "Player");
            break;

        case GameController.Choise.SacrificeHuman:
            StartDialogue(GetComponent <DialogueList>().HumanChoise, "Player");
            break;
        }
    }