Scenes are simply a DrawableGameComponent that manages other GameComponents.

Scenes use a List to keep track of all its member GameComponents. Since scenes are usually visible to the player, they should be derived from the DrawableGameComponent class so they include the draw method.

Basic scene template:

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License