Exemplo n.º 1
0
 public void SetCategory(PlantCategory categoryIn)
 {
     if(categoryIn == PlantCategory.wood)
         currentTrack = woodTrack;
     if(categoryIn == PlantCategory.mush)
         currentTrack = mushTrack;
 }
Exemplo n.º 2
0
		private PlantTypeInfo( int itemID, int offsetX, int offsetY, PlantType plantType, bool containsPlant, bool flowery, bool crossable, bool reproduces, PlantCategory plantCategory, int plantLabelSeed, int plantLabelPlant, int plantLabelFullGrown, int plantLabelDecorative, int seedLabel, int seedLabelPlural )
		{
			m_ItemID = itemID;
			m_OffsetX = offsetX;
			m_OffsetY = offsetY;
			m_PlantType = plantType;
			m_ContainsPlant = containsPlant;
			m_Flowery = flowery;
			m_Crossable = crossable;
			m_Reproduces = reproduces;
			m_PlantCategory = plantCategory;
			m_PlantLabelSeed = plantLabelSeed;
			m_PlantLabelPlant = plantLabelPlant;
			m_PlantLabelFullGrown = plantLabelFullGrown;
			m_PlantLabelDecorative = plantLabelDecorative;
			m_SeedLabel = seedLabel;
			m_SeedLabelPlural = seedLabelPlural;
		}
Exemplo n.º 3
0
		private PlantTypeInfo( int itemID, int offsetX, int offsetY, PlantType plantType, bool containsPlant, bool flowery, bool crossable, bool reproduces, PlantCategory plantCategory )
			: this( itemID, offsetX, offsetY, plantType, containsPlant, flowery, crossable, reproduces, plantCategory, -1, -1, -1, -1, -1, -1 )
		{
		}
Exemplo n.º 4
0
 private PlantTypeInfo(int itemID, int offsetX, int offsetY, PlantType plantType, bool containsPlant, bool flowery, bool crossable, bool reproduces, PlantCategory plantCategory)
     : this(itemID, offsetX, offsetY, plantType, containsPlant, flowery, crossable, reproduces, plantCategory, -1, -1, -1, -1, -1, -1)
 {
 }
Exemplo n.º 5
0
 private PlantTypeInfo(int itemID, int offsetX, int offsetY, PlantType plantType, bool containsPlant, bool flowery, bool crossable, bool reproduces, PlantCategory plantCategory, int plantLabelSeed, int plantLabelPlant, int plantLabelFullGrown, int plantLabelDecorative, int seedLabel, int seedLabelPlural)
 {
     m_ItemID               = itemID;
     m_OffsetX              = offsetX;
     m_OffsetY              = offsetY;
     m_PlantType            = plantType;
     m_ContainsPlant        = containsPlant;
     m_Flowery              = flowery;
     m_Crossable            = crossable;
     m_Reproduces           = reproduces;
     m_PlantCategory        = plantCategory;
     m_PlantLabelSeed       = plantLabelSeed;
     m_PlantLabelPlant      = plantLabelPlant;
     m_PlantLabelFullGrown  = plantLabelFullGrown;
     m_PlantLabelDecorative = plantLabelDecorative;
     m_SeedLabel            = seedLabel;
     m_SeedLabelPlural      = seedLabelPlural;
 }