X-Git-Url: https://git.ralfj.de/multypo.git/blobdiff_plain/93e7259309717671bbaccf24b67bb0d49206f465..48457df920b6f2c3747baa57366cc23389b3caca:/game.cpp?ds=sidebyside diff --git a/game.cpp b/game.cpp index 6611999..6e4b6f0 100644 --- a/game.cpp +++ b/game.cpp @@ -12,6 +12,7 @@ #include #include #include +#include class Renderable { public: @@ -351,7 +352,15 @@ int main (int argc, char** argv) { } } - //sleep(10); + for (size_t i=0; igetName() << " has " << players[i]->getScore() << " points." << std::endl; + std::cout << msg.str(); + playerTextFields[i].text = msg.str(); + } + render(dpy, w, gc, blackColor, toRender); + + sleep(5); return 0; }