public DiagramToolElement(DiagramToolBar bar, Texture2D texNormal, Texture2D texActive, DiagramTool tool) { this.bar = bar; this.index = index; this.texActive = texActive; this.texNormal = texNormal; this.tool = tool; }