avocado-old/packages/topdown/room-view.js
2019-04-25 02:01:35 -05:00

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);
}
}