This commit is contained in:
bMorgan01 2022-03-08 10:18:34 -07:00
parent 54f5313273
commit b49080f675
83 changed files with 2083 additions and 0 deletions

13
VariableLabel.cpp Normal file
View file

@ -0,0 +1,13 @@
//
// Created by Benjamin on 2/28/2022.
//
#include "VariableLabel.h"
VariableLabel::VariableLabel(int *track, const sf::Font& font, unsigned int size, float x, float y, int origin) : Label(std::to_string(*track), font, size, x, y, origin) {
this->track = track;
}
void VariableLabel::update() {
setString(std::to_string(*track));
}