#pragma once #include #include #include #include "Controller.h" struct Player { Player(); void update(float dt); void draw(); template bool collide(const std::vector& bullets) const; Vector2 m_position; Vector2 m_velocity; std::unique_ptr m_controller; }; #include "Player-inl.h"