public void SetCategory(PlantCategory categoryIn) { if(categoryIn == PlantCategory.wood) currentTrack = woodTrack; if(categoryIn == PlantCategory.mush) currentTrack = mushTrack; }
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; }
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 ) { }
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) { }
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; }