Example #1
0
 public Label(String text, Vector3 position, GameCore game) : base(game)
 {
     this.position = position;
     this.text     = translate(text);
     if (font == null)
     {
         font = new SpriteV(game, game.Content.Load <Texture2D>("letras30x24"), 36, Vector3.Zero, 1);
     }
 }
 public Label(String text, Vector3 position, GameCore game)
     : base(game)
 {
     this.position = position;
     this.text = translate(text);
     if(font==null){
         font = new SpriteV(game,game.Content.Load<Texture2D>("letras30x24"),36,Vector3.Zero,1);
     }
 }