Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //bloc.hpp
- #ifndef _Block_H_
- #define _Block_H_
- #include <oslib/oslib.h>
- #include "methods.hpp"
- #include "map.hpp"
- class Block{
- public:
- //Constructor
- Block(float x, float y, int type);
- //Variables
- float x, y, speed;
- int w, h, status, type;
- OSL_IMAGE *texture;
- //Methods
- void move();
- void blit();
- void manage(Map map);
- //void limitCollision(float x, float y, float w, float h);
- //void setSpeed(float speed);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement