SDLPP: add constant rotation

This commit is contained in:
2023-04-08 20:19:22 +02:00
parent 5a0cb397b1
commit 9617499ab8
6 changed files with 35 additions and 4 deletions
+2 -1
View File
@@ -149,6 +149,7 @@ bool MarioBlock::isTraveling() const {
}
void MarioBlock::custom_move(int ticks) {
SDLPP::RectangleRender::custom_move(ticks);
if (!_bouncing && !_traveling) {
return;
}
@@ -699,4 +700,4 @@ void MarioBlock::harden() {
const std::string &MarioBlock::getTeleportLevel() {
return _teleport_level;
}
}