Exemplo n.º 1
0
        public Sprite_Text AddTextSprite(SpriteFont font, String content, String key)
        {
            Sprite_Text s = new Sprite_Text(content, font);

            _sprites.Add(key, s);
            return(s);
        }
Exemplo n.º 2
0
 public LobbyList(String name, int x, int y, Sprite_Text image)
 {
     _posx = x;
     _posy = y;
     _image = image;
     _name = name;
 }
Exemplo n.º 3
0
 public LobbyList(String name, Vector2 position, Sprite_Text image)
 {
     _name = name;
     _position = position;
     _rightClick = UIManager.RightClickEvent;
     _leftClick = UIManager.LeftClickEvent;
     _image = image;
     _size = _image.Size;
 }
Exemplo n.º 4
0
 internal Sprite_Text(Sprite_Text sprite)
 {
     this.Text     = sprite.Text;
     this.Font     = sprite.Font;
     this.Color    = sprite.Color;
     this.Scale    = sprite.Scale;
     this.Alpha    = sprite.Alpha;
     this.Centered = sprite.Centered;
     this.Rotation = sprite.Rotation;
 }
Exemplo n.º 5
0
 internal Sprite_Text(Sprite_Text sprite)
 {
     this.Text = sprite.Text;
     this.Font = sprite.Font;
     this.Color = sprite.Color;
     this.Scale = sprite.Scale;
     this.Alpha = sprite.Alpha;
     this.Centered = sprite.Centered;
     this.Rotation = sprite.Rotation;
 }