示例#1
0
    public void GrowTree()
    {
        if (BaseTile == null)
        {
            PlaceStartingTree();
        }

        BaseTree b = BaseTile.GetStructure() as BaseTree;

        if (b != null)
        {
            b.Grow();
            SliderContoller.UpdateSlider(b.Health);
            VictoryController.CheckVictory(b, this);
        }
    }