Наследование: XNAGraphics.KernelBundle.BasicsBundle.BasicCollection
        public Boolean update(GameTime gameTime, LayerCollection actual_screen)
        {
            actual_screen.sortByPriority();

            foreach (Layer layer in actual_screen.components)
            {
                layer.drawable.update(gameTime);
            }

            return true;
        }
        public Boolean draw(LayerCollection actual_screen)
        {
            spriteBatch.Begin();

            actual_screen.sortByPriority();

            foreach (Layer layer in actual_screen.components)
            {
                layer.drawable.draw(spriteBatch);
            }

            spriteBatch.End();

            return true;
        }