/** @fn ModuleLoader( GameServiceContainer services, XNAModularApp app ) * @brief constructor * @param services [in] something the content manager needs... haven't looked into it * @param app [in] the application the loader belongs to */ public ModuleLoader(GameServiceContainer services, XNAModularApp app) { m_content = new ContentManager(services); m_nextModule = null; m_app = app; }
/// <summary> /// Default constructor /// Not much in here yet, and probably not at all /// </summary> public Level(XNAModularApp ParentApp) { m_ParentApp = ParentApp; m_sb = new SpriteBatch(m_ParentApp.Device); ObjSpawnList = new ArrayList(); MineSpawnList = new ArrayList(); Score = 0; }
/** @fn CXNAModule( MODULE_IDENTIFIER nID ) * @brief Constructor * @param nID [in] the ID of the module */ public XNAModule(MODULE_IDENTIFIER nID) { m_nModuleID = nID; m_parentApp = null; m_lstTextureResources = new List <string>(); m_lstModelResources = new List <string>(); m_lstShaderResources = new List <string>(); m_lstFontResources = new List <string>(); m_dtTextures = new Dictionary <string, Texture2D>(); m_dtModels = new Dictionary <string, Model>(); m_dtShaders = new Dictionary <string, Effect>(); m_dtFonts = new Dictionary <string, SpriteFont>(); m_bUseLoadScreen = true; }