add player.get_selected_entity(...) & update docs

This commit is contained in:
MihailRis
2024-07-14 12:00:58 +03:00
parent c17f3fec54
commit e73ccaded1
5 changed files with 72 additions and 43 deletions
-1
View File
@@ -60,7 +60,6 @@ Hitbox* Player::getHitbox() {
return nullptr;
}
#include "EntityDef.hpp"
void Player::updateInput(PlayerInput& input, float delta) {
auto hitbox = getHitbox();
if (hitbox == nullptr) {