示例#1
0
 protected override void setReferences()
 {
     base.setReferences();
     game = getNewGame();
     data = DataCollector.Get;
     data.SetActiveExperiment(experimentName);
 }
示例#2
0
    TSGameState getNewGame()
    {
        TSGameState game = new TSGameState();

        // Sets the current mode to the first mode in the enum
        game.CurrentBatchIndex = 0;
        game.CurrentTaskIndex  = 0;
        game.CompletedTasks    = new List <TSTaskDescriptor>();
        return(game);
    }