JamesYeoman

Ball H

May 23rd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "CartesianVectors.h"
  4.  
  5. class Ball
  6. {
  7. private:
  8.     CartesianVector<float> location;
  9.     CartesianVector<float> velocity;
  10.  
  11. public:
  12.     Ball(float, float);
  13.  
  14.     void SetVelocity(CartesianVector<float>);
  15.     void SetVelocity(float, float);
  16.  
  17.     void GetVelocity();
  18.  
  19. };
Add Comment
Please, Sign In to add comment