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