override public MapInterpreter Generate()
    {
        TileMapInterpreter interpreter = new TileMapInterpreter();

        interpreter.behaviour = this;
        return(interpreter);
    }
Beispiel #2
0
 public Level1(GraphicsDeviceManager graphics)
 {
     grid = new Grid(LEVEL_TILES_WIDTH * Grid.TILE_SIDE, LEVEL_TILES_HEIGHT * Grid.TILE_SIDE);
     //interpreter = new TileMapInterpreter("../../../Level1-1.txt");
     interpreter   = new TileMapInterpreter("C:/Users/dennis/source/repos/1G3B/Sprint0/Sprint0/TileMap/Level1-1.txt");
     this.graphics = graphics;
 }