Differences From Artifact [2332c804152f20b9]:
- File
gui.d
- 2012-07-14 07:47:55 - part of checkin [b6daa1efa1] on branch trunk - Modularized version. (user: kinaba) [annotate]
To Artifact [1dc5dff936083189]:
- File
gui.d
- 2012-07-14 08:31:35 - part of checkin [a5e6c99b3d] on branch trunk - Guarded. (user: kinaba) [annotate]
108 108 this.text = .text("Score: ", g.score, " Air: ", g.hp, " Tide: ", g.water_until_rise);
109 109 }
110 110 }
111 111
112 112 void main(string[] args)
113 113 {
114 114 auto g = Game.load(File(args[1]));
115 - g.set_output(new StdOutput);
115 + g.set_output(new GuardedOutput(g));
116 116 auto myForm = new GUI(g);
117 117 Application.run(myForm);
118 118 }