Using Room class to load GameScene
This commit is contained in:
parent
aee06da7f9
commit
ec93891c6b
3 changed files with 13 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue