Differences From Artifact [cf90fae27c74ab2c]:
- File
src/driver.d
- 2012-07-15 12:15:36 - part of checkin [0c05dd31f4] on branch trunk - Add driver.d again. (user: kinaba) [annotate]
To Artifact [3d15ff20e76164b8]:
- File
src/driver.d
- 2012-07-15 11:22:38 - part of checkin [f18bc9b7dd] on branch trunk - have I never added this file??? ???? ??????? (user: kinaba) [annotate]
- 2012-07-15 14:55:18 - part of checkin [64f5c73b88] on branch trunk - hige moving tochu. (user: kinaba) [annotate]
6 6 // this(in Game g);
7 7 void on_game_changed(char c, in Game g, bool finished);
8 8 }
9 9
10 10 class Driver
11 11 {
12 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 15 void command(char c)
16 16 {
17 17 if( finished )
18 18 return;
19 19 if( c == 'A' )
20 20 aborted = true;