Refactor: Split config into Config and ServerConfig

This commit is contained in:
evanpelle
2024-12-25 14:04:19 -08:00
parent 111775a3f4
commit 57cbf5c55e
16 changed files with 101 additions and 79 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export class UILayer implements Layer {
const barHeight = 15;
const barBackgroundWidth = this.transformHandler.width();
const ratio = this.game.ticks() / this.game.config().numSpawnPhaseTurns(this.game.gameConfig().gameType)
const ratio = this.game.ticks() / this.game.config().numSpawnPhaseTurns(this.game.config().gameConfig().gameType)
// Draw bar background
context.fillStyle = 'rgba(0, 0, 0, 0.5)';