PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/examples/Snake/app.d

http://github.com/wilkie/djehuty
D | 22 lines | 16 code | 6 blank | 0 comment | 0 complexity | 9ba0308dae8b8a239138c165b002e93e MD5 | raw file
 1import cui.application;
 2
 3import win;
 4
 5class SnakeApp : CuiApplication {
 6	static this() {
 7		new SnakeApp();
 8	}
 9
10	override void onApplicationStart() {
11		push(new SnakeWindow());
12	}
13
14	override void shutdown() {
15		super.shutdown();
16	}
17
18	override void end(uint exitCode) {
19		super.end(exitCode);
20	}
21}
22