Add CMake build and cross-platform cleanup
This commit is contained in:
@@ -22,7 +22,7 @@ void Building::Draw() const {
|
||||
// temp.bottom += m_Position.y;
|
||||
// utils::DrawRect(temp);
|
||||
}
|
||||
void Building::Update(float dt, const Rectf& objectBoundingBox) {
|
||||
void Building::Update(float, const Rectf& objectBoundingBox) {
|
||||
if (IsObjectInHitbox(objectBoundingBox)) {
|
||||
Player* player = GameManager::GetInstance().GetPlayer();
|
||||
float speed = player->GetVelocity().Length();
|
||||
|
||||
Reference in New Issue
Block a user