Exemplo n.º 1
0
        public HUD(float height, Skin skin) : base(height, skin)
        {
            var assets = G.Assets;

            _font           = assets.GetAsset <TileFont>("core:ui.font2");
            _inventoryPatch = assets.GetAsset <NinePatch>("core:ui.inventory");
            _crosshair      = assets.GetAsset <Image>("core:ui.crosshair");
        }
Exemplo n.º 2
0
 public UIStyleInfo Font(TileFont font)
 {
     _font = font;
     return(this);
 }