16 lines
304 B
JavaScript
16 lines
304 B
JavaScript
import {Container} from '@avocado/graphics';
|
|
|
|
import {LayersView} from './layers-view';
|
|
|
|
export class RoomView extends Container {
|
|
|
|
constructor(room, renderer) {
|
|
super();
|
|
this.room = room;
|
|
this.layersView = new LayersView(room.layers, renderer);
|
|
this.addChild(this.layersView);
|
|
}
|
|
|
|
}
|
|
|