コード例 #1
0
ファイル: Rock.cs プロジェクト: philipbawn/MagicalLife
 public Rock(int durability) : base(StoneName, durability)
 {
     this.HarvestingBehavior = new DropWhenCompletelyHarvested(new List <Base.Item>
     {
         new StoneRubble(this.Durability)
     }, SoundsTable.PickaxeHit, "");
 }
コード例 #2
0
ファイル: Rock.cs プロジェクト: SteveTeece/MagicalLife
 public Rock(int durability) : base(StoneName, durability)
 {
     this.HarvestingBehavior = new DropWhenCompletelyHarvested(new List <Base.Item>
     {
         new StoneRubble(this.Durability)
     }, SoundsTable.PickaxeHit, "");
     visual = new StaticTexture(AssetManager.NameToIndex[this.GetRandomStoneTexture()], RenderLayer.Stone);
 }