summaryrefslogtreecommitdiff
path: root/bullet.h
diff options
context:
space:
mode:
Diffstat (limited to 'bullet.h')
-rw-r--r--bullet.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/bullet.h b/bullet.h
new file mode 100644
index 0000000..23a4a3f
--- /dev/null
+++ b/bullet.h
@@ -0,0 +1,20 @@
+#ifndef _BULLET_H_
+#define _BULLET_H_
+
+#include "vector.h"
+
+class Bullet {
+ public:
+ Vector3 pos;
+ Vector3 direction;
+ float radius;
+
+ Bullet();
+ Bullet(const Vector3& pos, const Vector3& direction, float radius);
+ Bullet(const Bullet& b);
+ ~Bullet();
+
+ Bullet& operator=(const Bullet& b);
+};
+
+#endif