Hinzufügen der Playground- und GameLoop-Klassen zur Spielverwaltung

This commit is contained in:
2025-04-03 20:04:09 +02:00
parent 74ba1730f5
commit cb62a4f82c
3 changed files with 74 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
const socketIO = require("socket.io");
const GameManager = require("../GameManager");
const Playground = require("./Classes/Playground/Playground");
class GameLoop{
/** @param {socketIO.Server} io @param {GameManager} game */
constructor(io, game) {
this.io = io;
this.game = game;
this.playground = new Playground();
}
}
module.exports = GameLoop;