full implementation!
bug: level generation will generate nullptrs
This commit is contained in:
@ -22,12 +22,11 @@ int main(int argc, char **argv) {
|
||||
return RETURN_FINE;
|
||||
}
|
||||
|
||||
// CC3K game_proc(enabled_features, *in, *out, *log, *rng);
|
||||
CC3K game_proc(enabled_features, in.get(), out.get(), rng.get());
|
||||
|
||||
// while (game_proc.run() != game_status::terminated) {
|
||||
// out->render();
|
||||
// out->clear();
|
||||
// }
|
||||
while (1)
|
||||
if (game_proc.run() == game_status::terminated)
|
||||
break;
|
||||
|
||||
return RETURN_FINE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user