Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. void DrawWorld()
  2. {
  3.     while(isStart)
  4.     {
  5.         clear();
  6.         for(auto&& ball : ballPool)
  7.         {
  8.             mvprintw(ball->position[1], ball->position[0], "X");
  9.         }
  10.         refresh();
  11.         std::this_thread::sleep_for(std::chrono::milliseconds(100));
  12.     }
  13.    
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement