示例#1
0
文件: Map.cs 项目: edko-lyubov/Farmio
                public Item.Stone DestroyStone(Map map)
                {
                    Bitmap = null;
                    map.reFill(X, Y, Width, Height);
                    int numOfStones = Weight / 3;

                    Item.Stone stone = new Item.Stone(numOfStones);
                    return(stone);
                }
示例#2
0
 public Shovel(int number)
     : base(number)
 {
     Name       = "Łopata";
     NamePlural = "Łopaty";
     Item.Wood  Wood  = new Item.Wood(3);
     Item.Stone Stone = new Item.Stone(2);
     ItemsNeededForCraft.Add(Wood);
     ItemsNeededForCraft.Add(Stone);
 }