//public CooldownTimer CoolDownTimer = new CooldownTimer(); private UserInterface() { CharacterPanel = new CharacterPanel("Character", 20, 120, 320, 440, Color.Wheat); InventoryPanel = new InventoryPanel("Inventory", 960, 480, 220, 220, Color.CornflowerBlue); ScrollTransformBounds = new CollisionBox(480, 341, 240, 135); ViewContainerBounds = new CollisionBox(0, 100, Constants.SCREEN_WIDTH, (Constants.SCREEN_HEIGHT - 100)); ScrollTransformBounds.GetPrimRectangle().SetColor(Color.Magenta); ViewContainerBounds.GetPrimRectangle().SetColor(Color.Magenta); _player = Player.Instance(); _topBarBackpanel = JustCombat.GameContent.TopBarBackpanel; _actionBarPanel = JustCombat.GameContent.ActionBarPanel; _xpBarFrame = JustCombat.GameContent.ExperienceBarFrame; _playerInfoCard = new ActorInfoCard(_player, new Vector2(16.0f, 4.0f)); _targetInfoCard = new ActorInfoCard(null); _cursorInfoPanel = new InfoPanel("", 998, (Constants.SCREEN_HEIGHT - 26), 200, 24, new Color(0.0f, 0.004f, 0.125f, 0.5f), true); _fontConsolas13 = JustCombat.GameContent.FontConsolas13; _fontCandara10 = JustCombat.GameContent.FontCandara10; _experienceBar = new ExperienceBar(285, 706, 630, 8, null); _debug = false; _actorList = new List <Actor>(); InitCursors(); }