public GameUIElement(GameUI ui, String text, Vector2 position, int duration)
 {
     this.ui = ui;
     this.text = text;
     this.position = position;
     this.duration = duration;
 }
        private GamePlayDrawManager()
        {
            camera = new Camera2D();
            ui = new GameUI();

            /*
             * Initially setting this to an array of four lists - can change later.
             * 0 - Background Map - the map sprites that aren't collidable
             * 1 - Foreground Map - the map sprites that are collidable (trees, maybe chests, depending on how we do it)
             * 2 - Entities - Players, monsters, etc
             * 3 - Projectiles, effects, maybe items, etc
             */
            drawLists = new List<Drawable>[5];

            for (int i = 0; i < drawLists.Length; i++) //need to instantiate every list in the array.
            {
                drawLists[i] = new List<Drawable>();
            }
        }
 public GameUIElement(GameUI ui, String text, Vector2 position)
     : this(ui, text, position, -1)
 {
 }