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"); }
public UIStyleInfo Font(TileFont font) { _font = font; return(this); }