mirror of
https://github.com/Floriansylvain/SFMLplayground.git
synced 2026-08-19 19:53:25 +02:00
feat: ball spawn mechanics w/ mouse input & refac
This commit is contained in:
+2
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user