Example #1
0
 /// <summary>
 /// Initializes a new <see cref="GameManager"/> for the input <see cref="GameLocation"/> with initial <see cref="Language"/>.
 /// </summary>
 /// <param name="rom"></param>
 /// <param name="language"></param>
 public GameManager(GameLocation rom, int language)
 {
     ROM      = rom;
     Language = language;
     FileMap  = new GameFileMapping(rom);
     Initialize();
     Text = new TextManager(Game);
 }
Example #2
0
 /// <summary>
 /// Initializes a new <see cref="GameManager"/> for the input <see cref="GameLocation"/> with initial <see cref="Language"/>.
 /// </summary>
 /// <param name="rom"></param>
 /// <param name="language"></param>
 protected GameManager(GameLocation rom, int language)
 {
     ROM      = rom;
     Language = language;
     FileMap  = new GameFileMapping(rom);
     SetMitm();
     Initialize();
     Text = new TextManager(Game);
     Info = new GameInfo(Game);
 }