Ejemplo n.º 1
0
 public TextUIElement(Game game, SpriteFont font, BasicUIElement parent = null) :
     base(game)
 {
     this.Text   = "Text element";
     this.font   = font;
     this.parent = parent;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 public BoxUIElement(Game game, BasicUIElement parent = null) :
     base(game)
 {
     this.parent = parent;
 }