public TextUIElement(Game game, SpriteFont font, BasicUIElement parent = null) : base(game) { this.Text = "Text element"; this.font = font; this.parent = parent; }
public BasicUIElement(Game game, BasicUIElement parent = null) : base(game) { width = DEFAULT_WIDTH; height = DEFAULT_HEIGHT; position = new Vector2(DEFAULT_X_POS, DEFAULT_Y_POS); this.parent = parent; }
public BoxUIElement(Game game, BasicUIElement parent = null) : base(game) { this.parent = parent; }