Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. void Bullet::move(int time) {
  2. calculateDirection();
  3. calculateActuallyPosition();
  4. calculateSpeed(time);
  5. std::this_thread::sleep_for(std::chrono::milliseconds(speed));
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement