scoreboard: Añadidas funciones para asignar valores a las variables
This commit is contained in:
@@ -53,6 +53,16 @@ public:
|
||||
// Pinta el marcador
|
||||
void render();
|
||||
|
||||
void setScore1(int score);
|
||||
void setScore2(int score);
|
||||
void setMult1(int mult);
|
||||
void setMult2(int mult);
|
||||
void setStage(int stage);
|
||||
void setHiScore(int hiScore);
|
||||
void setPower(int power);
|
||||
void setHiScoreName(std::string name);
|
||||
void setColor(color_t color);
|
||||
|
||||
private:
|
||||
// Transforma un valor numérico en una cadena de 6 cifras
|
||||
std::string updateScoreText(Uint32 num);
|
||||
|
||||
Reference in New Issue
Block a user