feat: ball spawn mechanics w/ mouse input & refac

This commit is contained in:
Florian Sylvain
2025-05-12 12:22:00 +02:00
parent 77b7631f63
commit 7f0a191855
3 changed files with 21 additions and 11 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ class Game {
void processKeyPressed(const sf::Event::KeyPressed& keyPressed);
void processMousePressed(const sf::Event::MouseButtonPressed& mousePressed);
void handleMouseClick(const sf::Vector2i& mousePos);
void impulseBalls(const sf::Vector2f& mousePos);
void spawnBall(const sf::Vector2f& mousePos);
void update();
void render();
void updateBallsParallel(float dt);