Diff
Not logged in

Differences From Artifact [cf90fae27c74ab2c]:

To Artifact [3d15ff20e76164b8]:


6 // this(in Game g); 6 // this(in Game g); 7 void on_game_changed(char c, in Game g, bool finished); 7 void on_game_changed(char c, in Game g, bool finished); 8 } 8 } 9 9 10 class Driver 10 class Driver 11 { 11 { 12 this(Game g) { this.game = g; } 12 this(Game g) { this.game = g; } 13 this(File game_data) { this(Game.load(game_data)); } | 13 this(File game_data) { this(new Game(game_data)); } 14 14 15 void command(char c) 15 void command(char c) 16 { 16 { 17 if( finished ) 17 if( finished ) 18 return; 18 return; 19 if( c == 'A' ) 19 if( c == 'A' ) 20 aborted = true; 20 aborted = true;