Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct unit {
- int mass;
- int x,y;
- int vx,vy;
- double friction;
- unit(int mass, int x, int y, int vx, int vy, double friction): mass{mass}, x{x}, y{y}, vx{vx}, vy{vy}, friction{friction} {}
- };
- unit reaper;
- //klaida ant unit(int mass, int x, int y, int vx, int vy, double friction): mass{mass}, x{x}, y{y}, vx{vx}, vy{vy}, friction{friction} {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement