summaryrefslogtreecommitdiffhomepage
path: root/Player.h
diff options
context:
space:
mode:
Diffstat (limited to 'Player.h')
-rw-r--r--Player.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Player.h b/Player.h
index f0d4d10..b138edd 100644
--- a/Player.h
+++ b/Player.h
@@ -1,5 +1,7 @@
#pragma once
+#include <vector>
+
#include <raylib.h>
@@ -8,5 +10,8 @@ struct Player
Player();
void update(float dt);
void draw();
+ template<typename T> bool collide(const std::vector<T>& bullets) const;
Vector2 m_position;
};
+
+#include "Player-inl.h"