diff options
Diffstat (limited to 'Player.h')
-rw-r--r-- | Player.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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" |