created PlayerType enum add FakeHuman type

This commit is contained in:
evanpelle
2024-09-06 17:55:12 -07:00
parent 0bc78d07eb
commit 4caaaea140
10 changed files with 30 additions and 20 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export class Executor {
)
} else if (intent.type == "spawn") {
return new SpawnExecution(
new PlayerInfo(intent.name, intent.isBot, intent.clientID, this.random.nextID()),
new PlayerInfo(intent.name, intent.playerType, intent.clientID, this.random.nextID()),
new Cell(intent.x, intent.y)
)
} else if (intent.type == "boat") {