예제 #1
0
 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();
         }
 }
예제 #2
0
        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();
        }
예제 #3
0
        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();
        }