public static void Initialize() { tileMaps = LoadTileMaps(); tileSets = TileSetParser.LoadTileSets(tileMaps); levelList = LevelParser.LoadLevelList(); cachedLevelsInfo = new Dictionary <int, LevelInfo>(); currentLevelId = -1; }
public override void Awake() { mTileSetParser = new TileSetParser(10, 10); mTileSetParser.ReadTileData(Application.dataPath + TileSetParser.LEVEL_ASSETS_DIR + "testlevel.txt"); }