| 10 | bool hasSetupResources; |
| 11 | |
| 12 | Component::Component() |
| 13 | { |
| 14 | if (!hasSetupResources) |
| 15 | { |
| 16 | guiTexture.loadFromFile("Data/Textures/GUI.png"); |
| 17 | guiTexture.setRepeated(true); |
| 18 | |
| 19 | hasSetupResources = true; |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | bool Component::touchingMouse(const sf::Shape& sprite) const |
| 24 | { |
nothing calls this directly
no test coverage detected