Esempio n. 1
0
    public void Init(AdventurerGroup group)
    {
        this.group = group;
        transform.FindChild("Image").GetComponent<Image>().sprite = group.Sprite;

        initialButtons = transform.FindChild("MainButtons").gameObject;
        SetMainText("You encounter a " + group.Name + ".");
        SetFollowUpText("What would you like to do?");
        damageRange = new Pair(1, 4);
        fleeDamage = new Pair(1, 2);
        ToggleMode(true);
        Global.Player.CantMove = true;
    }
Esempio n. 2
0
    public void Init(AdventurerGroup group)
    {
        this.group = group;
        transform.FindChild("Image").GetComponent <Image>().sprite = group.Sprite;

        initialButtons = transform.FindChild("MainButtons").gameObject;
        SetMainText("You encounter a " + group.Name + ".");
        SetFollowUpText("What would you like to do?");
        damageRange = new Pair(1, 4);
        fleeDamage  = new Pair(1, 2);
        ToggleMode(true);
        Global.Player.CantMove = true;
    }
Esempio n. 3
0
 public StandardEncounter(AdventurerGroup adventurerGroup) : base("You encounter a " + adventurerGroup.Name)
 {
     this.adventurerGroup = adventurerGroup;
 }
 public StandardEncounter(AdventurerGroup adventurerGroup)
     : base("You encounter a " + adventurerGroup.Name)
 {
     this.adventurerGroup = adventurerGroup;
 }
Esempio n. 5
0
 public static void InitiateEncounter(AdventurerGroup group)
 {
     SetEncounterWindowVis(true);
     encounterWindow.GetComponent<EncounterWindow>().Init(group);
 }
Esempio n. 6
0
 public static void InitiateEncounter(AdventurerGroup group)
 {
     SetEncounterWindowVis(true);
     encounterWindow.GetComponent <EncounterWindow>().Init(group);
 }