Guest User

Untitled

a guest
Jan 24th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. #include <hge.h>
  2. #include <hgesprite.h>
  3. #include <hgeanim.h>
  4. #include <math.h>
  5.  
  6. class Object{
  7. int x, y;
  8. HTEXTURE tex;
  9. hgeAnimation *anim;
  10. float angle, FPS, velocity;
  11.  
  12. public:
  13.     Object(int x, int y, HTEXTURE tex, float FPS);
  14.     //Setters
  15.     void SetX(int x);
  16.     void SetY(int y);
  17.     void SetSpeed(int FPS); //Image Speed
  18.     void SetAngle(float angle); //Image Angle
  19.     void SetVelocity(float velocity); //Object Speed/Velocity
  20.     //Getters
  21. };
Add Comment
Please, Sign In to add comment