Exemplo n.º 1
0
        private void _Callback(int level, IComponentCollection collection)
        {
            switch (this._VSkill)
            {
            case 0:
                switch (level)
                {
                case 1:
                    collection.AddComponent(new RecipeComponent(0));                // Scarecrow
                    collection.AddComponent(new RecipeComponent(0, false));         // Basic Fertilizer
                    break;

                case 2:
                    collection.AddComponent(new RecipeComponent(0));                // Mayonnaise Machine
                    collection.AddComponent(new RecipeComponent(0));                // Stone Fence
                    collection.AddComponent(new RecipeComponent(0));                // Sprinkler
                    break;
                }
                break;
            }
        }