Exemplo n.º 1
0
 public void SetUp()
 {
     _levelDeserializer = new Mock<ILevelDeserialize>();
     _levelLoader = new LevelLoader(_levelDeserializer.Object, FrameWidth, ViewPortWidth - FrameWidth, FrameWidth, 1f);
 }
Exemplo n.º 2
0
        public LevelModel LoadLevel(int levelNumber, float scale)
        {
            var levelLoader = new LevelLoader(new LevelSerializer(), _frameModel.GetInsideFrameLeft(),
                _frameModel.GetInsideFrameRight(), _frameModel.GetInsideFrameTop(), scale);

            return levelLoader.LoadLevel(levelNumber);
        }