Using Room class to load GameScene

This commit is contained in:
David Négrier 2020-10-13 17:08:24 +02:00
parent aee06da7f9
commit ec93891c6b
3 changed files with 13 additions and 6 deletions

View file

@ -5,9 +5,8 @@ export class Room {
public readonly id: string;
public readonly isPublic: boolean;
private mapUrl: string|undefined;
//public url: string
constructor(id: string/*, url: string*/) {
constructor(id: string) {
if (id.startsWith('/')) {
id = id.substr(1);
}