chore(project) rename main directory

This commit is contained in:
Benjamin Wegener
2024-04-02 23:24:31 +00:00
parent 9147658f30
commit a12d7f3343
10 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
export default class Room {
constructor(data) {
this.id = data.id;
this.name = data.name;
this.users = new Set();
}
addUser(userId) {
this.users.add(userId);
}
removeUser(userId) {
this.users.delete(userId);
}
getUsers() {
return Array.from(this.users);
}
}