public Level(LevelFiles files) { Files = files; LevelInform = new LevelInformation(Files); Player = new Player(LevelInform.StartPlayerLocation); GameStat = new GameInfo(); }
public LevelInformationExtractor(LevelInformation level, LevelFiles files) { LevelInform = level; Files = files; LineParser = new Dictionary <string, Action <string> >() { ["PLAT"] = ExtractPlatform, ["PLE"] = ExtractPlayer, ["BUG"] = ExtractBugEnemy, ["RTE"] = ExtractRunTimeEnemy, ["END"] = ExtractEndMark, ["BOS"] = ExtractBoss, ["TRN"] = ExtractTriangle, ["WEP"] = ExtractWepon, ["STR"] = ExtractString }; }