示例#1
0
 public Executor(string configFile, string movesFile)
 {
     _gameConfig = JsonFileReader.IRead <Configurations>(configFile);
     _movements  = JsonFileReader.IRead <Moves[]>(movesFile);
     _turtle     = new TurtlePointer(_gameConfig.EntryDirection, _gameConfig.EntryPoint.XVal, _gameConfig.EntryPoint.YVal);
     InitializeBoard();
 }