public GUI_Element(Rectangle rectangle, String text, Vars_Func.GUI_ElementTyp elementTyp, Vars_Func.GUI_Typ typ, float speed) { this.rectangle = rectangle; this.currentRectangle = rectangle; this.text = text; this.elementTyp = elementTyp; this.typ = typ; this.spriteColor = Color.White; this.speed = speed; }
public GUI_Element(Rectangle rectangle, String text, Vars_Func.GUI_ElementTyp elementTyp, float speed) : this(rectangle, text, elementTyp, Vars_Func.GUI_Typ.None, speed) { }
public GUI_Element(Rectangle rectangle, String text, Vars_Func.GUI_ElementTyp elementTyp, Vars_Func.GUI_Typ typ) : this(rectangle, text, elementTyp, typ, 1) { }