Room class
crookse opened this issue · 1 comments
crookse commented
This is depended on by #10
Create the following class:
class Room {
protected is_private: boolean;
protected name: string;
constructor(name: string, isPrivate: boolean = false) {
this.name = name;
this.is_private = isPrivate;
}
public close() { ... }
public rename() { ... }
public makePrivate() { ... }
public makePublic() { ... }
...
...
...
}