public IndexedUIButton(int leftPoint, int topPoint, int panelWidth, int panelHeight, string textureAddress, Color colour, ClickMethod onClickMethod, float layer, bool transforms, int index) : base(leftPoint, topPoint, panelWidth, panelHeight, colour, layer, transforms) { texture = TextureManager.GetTexture(textureAddress); method = onClickMethod; Index = index; }
public UIIndexedButton(int leftPoint, int topPoint, int panelWidth, int panelHeight, string textureAddress, Color colour, ClickMethod onClickMethod, float layer, bool transforms, int x, int y) : base(leftPoint, topPoint, panelWidth, panelHeight, colour, layer, transforms) { texture = TextureManager.GetTexture(textureAddress); method = onClickMethod; this.x = x; this.y = y; }
public UITexture(int leftPoint, int topPoint, int panelWidth, int panelHeight, string textureAddress, Color colour, float layer, bool transform) : base(leftPoint, topPoint, panelWidth, panelHeight, colour, layer, transform) { texture = TextureManager.GetTexture(textureAddress); }
public Tooltip(int leftPoint, int topPoint, int panelWidth, int panelHeight, string textureAddress, Color color) : base(leftPoint, topPoint, panelWidth, panelHeight, color, 0.1f, true) { texture = TextureManager.GetTexture(textureAddress); this.colour = color; }