Advertisement
JamesYeoman

Ball CPP

May 23rd, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. #include "Ball.h"
  2.  
  3. Ball::Ball(float x, float y)
  4. {
  5.     this->location = CartesianVector<float>(x, y);
  6.     this->velocity = CartesianVector<float>(0.0, 0.0);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement