This commit is contained in:
2026-05-19 17:19:54 +02:00
parent 8ff3e29374
commit d93e71e716
4 changed files with 25 additions and 0 deletions

View File

@@ -161,6 +161,9 @@ namespace Game::AGame {
} else if (!mIsShipMode && mGroundTex) {
setTexture(mGroundTex);
}
// Push replay
GameManager::pushPlayerPosition(mTransform);
}
void Player::onCollisionEnter(Object::Entity* other) {