public void LoadContent(ContentManager content) { _rupeeTexture = ManagerContent.LoadTexture("rupee_gui"); _heartTexture = ManagerContent.LoadTexture("heart_gui"); _containerTexture = ManagerContent.LoadTexture("container_gui"); _font = ManagerContent.LoadFont("Font_GUI"); _backgroundTexture = ManagerContent.LoadTexture("white_background"); }
protected Window() { FontColor = Color.White; AMenu = false; Opacity = 255; Color = Color.Black; Font = ManagerContent.LoadFont("Font_GUI"); Texture = ManagerContent.LoadTexture("white_background"); }
public override void LoadContent(ContentManager content) { _rupeeTexture = ManagerContent.LoadTexture("rupee_gui"); _heartTexture = ManagerContent.LoadTexture("heart_gui"); _containerTexture = ManagerContent.LoadTexture("container_gui"); _font = ManagerContent.LoadFont("Font_GUI"); _tempTexture = ManagerContent.LoadTexture("boomerang_gui"); _backgroundTexture = ManagerContent.LoadTexture("white_background"); _barHor = ManagerContent.LoadTexture("menu_block_hor"); _barVert = ManagerContent.LoadTexture("menu_block_vert"); _playerStatsGui.LoadContent(content); }
public ManagerMap(ManagerCamera camera, ManagerMouse managerMouse, MainForm mainForm) { _managerCamera = camera; _managerMouse = managerMouse; _tiles = new Manager.ManagerMap("..", camera); _tileGridTexture = ManagerContent.LoadTexture("tile_mapeditor"); _font = ManagerContent.LoadFont("Font_GUI"); _mainForm = mainForm; _mainForm.btnSave.Click += Save; _mainForm.LoadMap += LoadMap; ManagerInput.FireNewInput += ManagerInputOnFireNewInput; ManagerInput.ThrottleInput = true; }