#include <WorldView.h>
|
| | ScorePopup () |
| void | setScore (int score) |
| | Sets the Sprite sf::TextureRect to the corresponding score.
|
◆ ScorePopup()
| ScorePopup::ScorePopup |
( |
| ) |
|
ScorePopup struct holds a few members that allow me to easily display different scores at different times.
◆ setScore()
| void ScorePopup::setScore |
( |
int | score | ) |
|
Sets the Sprite sf::TextureRect to the corresponding score.
- Parameters
-
| score | Score to be displayed. |
◆ active
◆ elapsedTime
| double ScorePopup::elapsedTime |
◆ sprite
| sf::Sprite ScorePopup::sprite |
The documentation for this struct was generated from the following files: