4#include <SFML/Graphics.hpp>
17 Texture objectTexture;
19 std::string objectName;
20 float interactableRadius;
21 float interactableXRelMap;
22 float interactableYRelMap;
26 Interactable(std::string interactableTexturePath, std::string interactableName,
float interactableRadius,
27 float interactableXRelMap,
float interactableYRelMap);
30 virtual void update(RenderWindow& window,
const Player& player);
bool playerInRange(const Player &player)
Definition Interactable.cpp:37
float getRadius() const
Definition Interactable.cpp:44
virtual void update(RenderWindow &window, const Player &player)
Definition Interactable.cpp:49
Interactable(std::string interactableTexturePath, std::string interactableName, float interactableRadius, float interactableXRelMap, float interactableYRelMap)
Definition Interactable.cpp:3
void drawInteractable(RenderWindow &window, const Player &player)
Definition Interactable.cpp:72