tetris: print user name above score #421
parent
4f6275b738
commit
e500d0f8f4
@ -1,5 +1,5 @@
|
|||||||
void UpdateScore(){
|
void UpdateScore(){
|
||||||
if(scoreplane_->printf(0, 0, "level: %02d score: %ju", level_, static_cast<uintmax_t>(score_)) < 0){
|
if(scoreplane_->printf(1, 0, "level: %02d score: %ju", level_, static_cast<uintmax_t>(score_)) < 0){
|
||||||
throw TetrisNotcursesErr("printf()");
|
throw TetrisNotcursesErr("printf()");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue