Beispiel #1
0
    public override ClueItem GetItem(Noun n1, Noun n2)
    {
        // ensure n1 is the hair color
        if (n1.Type() == NounType.Identity)
        {
            Noun temp = n1;
            n1 = n2;
            n2 = temp;
        }

        string   spriteName  = Random.Range(0, 2) == 0 ? "Photo" : "Photo2"; //int range is max exclusive
        string   description = "A photo of the victim and " + n2.WithVictim() + ", who " + n1.AsObject() + ".";
        ClueItem item        = new ClueItem(n1, n2, Verb.Is, spriteName, description);

        return(item);
    }