public GameAssemblyBuilder() { m_AssemblyBuilder = new CustomAssemblyBuilder("GenGame"); // creates GenGame class m_TypeBuilder = m_AssemblyBuilder.CreateType("GenGame"); }
public void GenerateAssembly( List<GameType> a_GameTypes ) { m_AssemblyBuilder = new CustomAssemblyBuilder("GameTypes"); foreach (GameType gameType in a_GameTypes) { m_AssemblyBuilder.CreateType(gameType.Name, gameType.Properties); } m_AssemblyBuilder.Save(); }