mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 13:06:15 -04:00
Build 29074043
This commit is contained in:
parent
7e8643ceed
commit
4418ca7926
8 changed files with 29 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue