Example #1
0
 public Element(Element element)
     : base(element)
 {
     this.dropConfigs = element.dropConfigs;
     this.tool = element.tool;
     this.distInteract = element.distInteract;
 }
Example #2
0
 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;
 }
Example #3
0
 // Constructor
 public Element()
     : base()
 {
     this.dropConfigs = new DropConfig[0];
     this.tool = DestructionTool.None;
     this.distInteract = 0;
 }