public UIButton(Texture2D Texture) { this.Texture = Texture; ClickHandler = ListenForMouse(new Rectangle(0, 0, m_Width, m_Height), new UIMouseEvent(OnMouseEvent)); m_TooltipHandler = UIUtils.GiveTooltip(this); //buttons can have tooltips }