Artifact 1d7ea5dfabc56eb48af1881c4cfbce300b76fe41
- File
src/gui_main.d
- 2012-07-15 11:17:59 - part of checkin [ff0ab77d3d] on branch trunk - new game class. (user: kinaba) [annotate]
import gui; import output; import driver; import solver; import std.stdio; pragma(lib, "dfl.lib"); void main(string[] args) { Driver d = new Driver(stdin); // d.addObserver!(GuardedOutput)(); d.addObserver!(StdOutput)(); // auto g = d.addObserver!(GUI!MainSolver)(); auto g = d.addObserver!(GUI!Solver_0)(); g.set_fn(&d.command); g.run(); }