示例#1
0
        private void PlaceOffspring(Vector2 position)
        {
            hasSeed.Value = false;

            var tree = new AggressiveTree(treeType.Value, 0, true);

            _location.terrainFeatures[position] = tree;
        }
示例#2
0
        private AggressiveTree BuildOffspring()
        {
            var tree = new AggressiveTree(treeType.Value, 0);

            return(tree);
        }