We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f07ce34 + d608f89 commit ab03d61Copy full SHA for ab03d61
1 file changed
src/commands/new/NewTemplates.cpp
@@ -1082,10 +1082,9 @@ h1 {
1082
1083
s += " void on_update(const vix::game::Frame &frame) override\n";
1084
s += " {\n";
1085
- s += " vix::print(\"frame:\", frame.index);\n\n";
1086
- s += " if (frame.index >= 5)\n";
+ s += " if (frame.first())\n";
1087
1088
- s += " app().stop();\n";
+ s += " vix::print(\"Game running. Press Ctrl+C to stop.\");\n";
1089
s += " }\n";
1090
1091
s += "};\n\n";
0 commit comments