diff options
Diffstat (limited to 'Player.h')
-rw-r--r-- | Player.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,9 +1,12 @@ #pragma once +#include <memory> #include <vector> #include <raylib.h> +#include "Controller.h" + struct Player { @@ -12,6 +15,9 @@ struct Player void draw(); template<typename T> bool collide(const std::vector<T>& bullets) const; Vector2 m_position; + Vector2 m_velocity; + std::unique_ptr<Controller> m_controller; }; + #include "Player-inl.h" |