Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void DrawWorld()
- {
- while(isStart)
- {
- clear();
- for(auto&& ball : ballPool)
- {
- mvprintw(ball->position[1], ball->position[0], "X");
- }
- refresh();
- std::this_thread::sleep_for(std::chrono::milliseconds(100));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement