#pragma once class GameUtils { private: // Private constructor to prevent external instantiation GameUtils() : aspectRatio(1.f) {} public: float aspectRatio; static GameUtils& getInstance() { static GameUtils instance; // Jedna i jedyna instancja return instance; } };