public GLRendererTestBase() { using (var tmxStream = FileStreams.FullTmxStream()) using (var tilesetTableStreamReader = new StreamReader(FileStreams.TilesetTableStream())) { var gameSetup = new GameSetup(tmxStream, tilesetTableStreamReader); m_gameController = ControllerFactory.GetController(gameSetup); m_gameController.Init(); } }
public GameControllerTestBase() { var tmxMemoryStream = FileStreams.SmallTmx(); var tilesetTableMemoryStream = FileStreams.TilesetTableStream(); var tilesetTableStreamReader = new StreamReader(tilesetTableMemoryStream); var gameSetup = new GameSetup(tmxMemoryStream, tilesetTableStreamReader); GameController = GetController(gameSetup); GameController.Init(); }