Alle Vorrausetzungwn fürs spielfeld geschrieben
This commit is contained in:
@@ -14,7 +14,11 @@ class GameLoop{
|
||||
loop(){
|
||||
this.io.to(`game-${this.game.code}`).emit("loop", {
|
||||
code: this.game.code,
|
||||
playground: this.playground
|
||||
playground: {
|
||||
height: this.playground.height,
|
||||
width: this.playground.width,
|
||||
tiles: this.playground.tiles,
|
||||
}
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user