Пример #1
0
    // Use this for initialization
    void Awake()
    {
        if (famerBotInstance == null)
        {
            famerBotInstance = this;
        }

        this.health = new Health(100.0f);
    }
Пример #2
0
    // Use this for initialization
    void Awake()
    {
        if (famerBotInstance == null)
        {
            famerBotInstance = this;
        }

        this.health = new Health(100.0f);
        //TODO: Add some better description for the bot.
        this.description = "This is a farmer.";
        this.dialogue    = new List <string>();
        this.initializeDialogue(dialogue);
        this.farmerSpeed = 5.0f;
    }