5 przeciwnikow, do poprawy lewa strona mapy przy poruszaniu i teksturki

This commit is contained in:
2024-12-11 23:52:06 +01:00
parent 38fd71b8e6
commit 168ba2e477
5 changed files with 15 additions and 24 deletions

View File

@@ -44,11 +44,9 @@ private:
bool alive = true;
DirectionW direction = DirectionW::Down;
Beam beam; // Wiązka
bool shooting = false; // Czy obecnie strzela
sf::Clock shootingClock; // Zegar kontrolujący czas strzału
float beamDuration = 1.0f; // Czas trwania widoczności wiązki (w sekundach)
float mapWidth; // Szerokość mapy/planszy
float mapHeight;
bool shooting = false;
sf::Clock shootingClock;
float beamDuration = 1.0f;
void spawnBeam(); // Tworzy wiązkę
};