@@ -30,9 +30,9 @@ } Application.run(this); } - override void on_game_changed(char c, const(Game) g, bool finished) + override void on_game_changed(char c, in Game g, bool finished) { draw(g); } @@ -80,9 +80,9 @@ graphicContext.copyTo(ev.graphics, Rect(0,0,this.clientSize.width,this.clientSize.height)); }; } - void draw(const(Game) g) + void draw(in Game g) { int scrW = this.clientSize.width; int scrH = this.clientSize.height;