예제 #1
0
        public static void Draw(SpriteBatch spriteBatch)
        {
            #region ExampleCode
            // THIS IS AN EXAMPLE OF HOW TO DRAW
            // LEVEL ITEMS, LIKE ENEMIES AND POWERUPS AND WHATEVER
            // ITS EXACTLY THE SAME FOR EVERYTHING

            /*
             *  foreach(CLASSNAME WHATEVER in NAMEOFLIST)
             *      WHATEVER.Draw(spriteBatch); */
            #endregion
            foreach (spellEffect SpellEffect in goodSpellList)
            {
                SpellEffect.Draw(spriteBatch);
            }
        }