Skip to content

Commit

Permalink
remove unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
oshibka404 committed Aug 27, 2024
1 parent a6814f3 commit 94d3d28
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ import { StartMenu } from "./screens/start-menu";
type GameState = 'not_started' | 'playing'

export class Game {
private state: GameState = 'not_started'
constructor(private startMenu: StartMenu, private match: Match) {}

private setState(state: GameState) {
this.state = state

if (state === 'not_started') {
this.startMenu.show()
this.match.hide()
Expand Down

0 comments on commit 94d3d28

Please sign in to comment.