Example #1
0
 void NewSeason()
 {
     // Get the new season
     // change tile sprite
     if (plant != null)
     {
         inSeason = plant.InSeason(season);
     }
 }
Example #2
0
 public void Seed(Plant newPlant)
 {
     if (isTilled && plant == null)
     {
         if (newPlant.InSeason(season))
         {
             plant = newPlant;
             plantSprite.sprite = plant.currentStage.sprite;
             inSeason           = true;
         }
     }
 }