18 lines
295 B
D
18 lines
295 B
D
import std.stdio;
|
|
|
|
import gameengine.core.engine;
|
|
import gameengine.renderer.renderer;
|
|
import gameengine_rsdl;
|
|
|
|
import core.thread;
|
|
|
|
void main() {
|
|
Renderer renderer = new RSDL();
|
|
Engine engine = new Engine(renderer);
|
|
|
|
while (true) {
|
|
engine.runNodeProcesses();
|
|
Thread.sleep(1.msecs);
|
|
}
|
|
}
|