class Room extends Phaser.Sprite {

  constructor(game, x, y, key, frame) {
    super(game, x, y, key, frame);
  }
}

export default Room;
@@ -1,8 +1,33 @@
+const Color ='#ff00ff';%0A%0A
 class Ro
@@ -78,67 +78,277 @@
 me, 
-x, y, key, frame) %7B%0A    super(game, x, y, key, frame
+width, height) %7B%0A    let bmd = game.add.bitmapData(width,height);%0A    // draw to the canvas context like normal%0A    bmd.ctx.beginPath();%0A    bmd.ctx.rect(0,0,width,height);%0A    bmd.ctx.fillStyle = '#ff0000';%0A    bmd.ctx.fill();%0A%0A    super(game,width,height, bmd
 );%0A  %7D%0A
+%0A
 %7D%0A%0Ae

create a red room