public Element(Element element) : base(element) { this.dropConfigs = element.dropConfigs; this.tool = element.tool; this.distInteract = element.distInteract; }
public Element(int id, int life, GameObject prefab, DestructionTool tool, float distInteract, params DropConfig[] dropConfigs) : base(id, life, prefab) { this.dropConfigs = dropConfigs; this.tool = tool; this.distInteract = distInteract; }
// Constructor public Element() : base() { this.dropConfigs = new DropConfig[0]; this.tool = DestructionTool.None; this.distInteract = 0; }