示例#1
0
        public void DrawDrawables()
        {
            for (int i = 0; i < Drawables.Count; i++)
            {
                Drawables[i].Draw(spriteBatch);
            }

            for (int i = 0; i < TextToBeDrawn.Count; i++)
            {
                GameText a = TextToBeDrawn.Dequeue();
                a.Draw(spriteBatch);
            }
        }