Build 29074043

This commit is contained in:
Renan LE CARO 2025-04-12 09:24:07 +02:00
parent 7e8643ceed
commit 4418ca7926
8 changed files with 29 additions and 15 deletions

View file

@ -52,6 +52,7 @@ import { addToTotalScore } from "./addToTotalScore";
export function setMousePos(gameState: GameState, x: number) {
gameState.puckPosition = x;
// Sets the puck position, and updates the ball position if they are supposed to follow it
gameState.needsRender = true;
}