Esempio n. 1
0
    static void Main()
    {
        Console.WriteLine("Congratulations on your new plant!");
        Console.WriteLine("Good luck keeping it alive.");
        Console.WriteLine("What is your name?");
        string      userName = Console.ReadLine();
        PlantGrower newPlant = new PlantGrower(userName, 5);

        newPlant.StartGame();
    }
Esempio n. 2
0
    void Start()
    {
        plantGrowthManager = GetComponent <PlantGrower>();



        water           = 0.5f;
        growthPotential = 0.5f;

        //water = 1f;
        //growthPotential = 1f;


        NextTimeStep();
    }