From 3937e977f42fa4724b6f14b423e7f22168c87834 Mon Sep 17 00:00:00 2001 From: Mazer1x Date: Fri, 19 Sep 2025 12:12:14 +0300 Subject: [PATCH] build fixed --- source/Gameplay_objects/Coin.cpp | 2 +- source/Gameplay_objects/Coin.h | 2 +- source/Gameplay_objects/InvincibilitySphere.cpp | 2 +- source/Gameplay_objects/MedKit.cpp | 2 +- source/Gameplay_objects/SpeedBerry.cpp | 2 +- source/Gameplay_objects/WinBlock.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/Gameplay_objects/Coin.cpp b/source/Gameplay_objects/Coin.cpp index 37b87ac..cbcc47e 100644 --- a/source/Gameplay_objects/Coin.cpp +++ b/source/Gameplay_objects/Coin.cpp @@ -33,4 +33,4 @@ Coin::Coin(sf::Texture &image, float x, float y) * Collision detection with the player is handled externally in the main game loop. * This method is empty but maintained for interface consistency. */ -void Coin::update(float time) {} \ No newline at end of file +void Coin::update(float) {} \ No newline at end of file diff --git a/source/Gameplay_objects/Coin.h b/source/Gameplay_objects/Coin.h index be9c741..907abb5 100644 --- a/source/Gameplay_objects/Coin.h +++ b/source/Gameplay_objects/Coin.h @@ -33,7 +33,7 @@ class Coin : public Entity { * Currently handles basic entity updates. Collision detection * with the player is handled in the main game loop. */ - void update(float time) override; + void update(float) override; }; #endif \ No newline at end of file diff --git a/source/Gameplay_objects/InvincibilitySphere.cpp b/source/Gameplay_objects/InvincibilitySphere.cpp index b63c879..828aeab 100644 --- a/source/Gameplay_objects/InvincibilitySphere.cpp +++ b/source/Gameplay_objects/InvincibilitySphere.cpp @@ -33,4 +33,4 @@ InvincibilitySphere::InvincibilitySphere(sf::Texture& image, float x, float y) * Collision detection with the player is handled externally in the main game loop. * This method is empty but maintained for interface consistency. */ -void InvincibilitySphere::update(float time) {} \ No newline at end of file +void InvincibilitySphere::update(float) {} \ No newline at end of file diff --git a/source/Gameplay_objects/MedKit.cpp b/source/Gameplay_objects/MedKit.cpp index f608ca7..765be75 100644 --- a/source/Gameplay_objects/MedKit.cpp +++ b/source/Gameplay_objects/MedKit.cpp @@ -33,4 +33,4 @@ MedKit::MedKit(sf::Texture& image, float x, float y) * Collision detection with the player is handled externally in the main game loop. * This method is empty but maintained for interface consistency. */ -void MedKit::update(float time) {} \ No newline at end of file +void MedKit::update(float) {} \ No newline at end of file diff --git a/source/Gameplay_objects/SpeedBerry.cpp b/source/Gameplay_objects/SpeedBerry.cpp index 54cdcf8..309e5d9 100644 --- a/source/Gameplay_objects/SpeedBerry.cpp +++ b/source/Gameplay_objects/SpeedBerry.cpp @@ -33,4 +33,4 @@ SpeedBerry::SpeedBerry(sf::Texture& image, float x, float y) * Collision detection with the player is handled externally in the main game loop. * This method is empty but maintained for interface consistency. */ -void SpeedBerry::update(float time) {} \ No newline at end of file +void SpeedBerry::update(float) {} \ No newline at end of file diff --git a/source/Gameplay_objects/WinBlock.cpp b/source/Gameplay_objects/WinBlock.cpp index da3379c..b00e556 100644 --- a/source/Gameplay_objects/WinBlock.cpp +++ b/source/Gameplay_objects/WinBlock.cpp @@ -33,4 +33,4 @@ WinBlock::WinBlock(sf::Texture& image, float x, float y) * Collision detection with the player is handled externally in the main game loop. * This method is empty but maintained for interface consistency. */ -void WinBlock::update(float time) {} \ No newline at end of file +void WinBlock::update(float) {} \ No newline at end of file