コード例 #1
0
 public void SetCategory(PlantCategory categoryIn)
 {
     if(categoryIn == PlantCategory.wood)
         currentTrack = woodTrack;
     if(categoryIn == PlantCategory.mush)
         currentTrack = mushTrack;
 }
コード例 #2
0
ファイル: PlantType.cs プロジェクト: Crome696/ServUO
		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;
		}
コード例 #3
0
ファイル: PlantType.cs プロジェクト: Crome696/ServUO
		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 )
		{
		}
コード例 #4
0
ファイル: PlantType.cs プロジェクト: zerodowned/last-wish
 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)
 {
 }
コード例 #5
0
ファイル: PlantType.cs プロジェクト: zerodowned/vivre-uo
 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;
 }