Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # include <vector>
- # include <sig/gs_vec.h>
- # include <sig/sn_model.h>
- # include <sig/sn_manipulator.h>
- class bullet
- {
- private:
- GsVec position, direction;
- static SnModel * bullet_model;
- SnManipulator * bullet_manip;
- GsMat m, m2;
- int age;
- const float BULLET_SPEED = 1.0f;
- static std::vector<bullet *> bullet_list;
- public:
- bullet(GsVec Position, GsVec direction, bool parent);
- ~bullet();
- SnManipulator * getManip();
- void update();
- int getAge();
- void setAge(int new_age);
- GsVec getPos();
- static const std::vector<bullet *> getList();
- static void setList(std::vector<bullet *> list);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement