public HUD() { _BottomBar = new BasicSprite(0, Game.CANVAS_HEIGHT - 64, Game.CANVAS_WIDTH, 64); // temp y coord for _BottomBar var ry = _BottomBar.GetBounds().Y; _InvButton = new Button(4, ry + 4, 96, 56, "Inventory", delegate() { Game.P.GetInventory().ToggleOpen(); }); _InvButton.SetFont(new Font("ariel", 8)); _InvButton.SetColor(Brushes.White); _InvButton.SetFontColor(Brushes.Black); _InvButton.SetFocusedColor(Brushes.LightGray); _Buttons.Add(_InvButton); }