#ifndef HOLESOME_MAP_PLAYER_HPP #define HOLESOME_MAP_PLAYER_HPP #include #include #include "../../player/player.hpp" #include "../../../config.h" class MapPlayer { public: std::shared_ptr player; b2Body *body; float shapeRadius = 0; MapPlayer(std::shared_ptr player, b2Body *body) : player(std::move(player)), body(body) { updateShape(); } void updateSimulationPosition(); void updatePlayerPosition() const; void updateShape(); }; #endif //HOLESOME_MAP_PLAYER_HPP