stuff and junk and things

This commit is contained in:
Kim Ravn Hansen
2025-09-05 17:57:09 +02:00
parent 8bcbdbfe35
commit 1720db9eb7
14 changed files with 460 additions and 333 deletions

View File

@@ -11,8 +11,7 @@ import WebSocket from "ws";
import { Character } from "./character.js";
import { ItemTemplate } from "./item.js";
export class Game{
export class Game {
/** @type {Map<string,ItemTemplate>} List of all item templates in the game */
_itemTemplates = new Map();
@@ -33,5 +32,8 @@ export class Game{
* @protected
* @type {Map<string,Player>} Map of users in the game username->Player
*/
_players = new Map(); get players() { return this._players; }
_players = new Map();
get players() {
return this._players;
}
}