コード例 #1
0
 public static ItemTool createPickaxe(PickaxeType type)
 {
     return(new ItemTool("Pickaxe", "pickaxe.png", "pickaxe", type));
 }
コード例 #2
0
 public ItemTool(String name, String imagename, String toolType, PickaxeType type) : base(type.name + " " + name, imagename)
 {
     this.toolType = toolType;
     this.type     = type;
     MainForm.getInstance().Load += new EventHandler(ItemTool_Load);
 }