floorTile.js 214 B Download Raw Copy 1class FloorTile extends GameObject{2 3 constructor(x,y,sprite,layer) 4 {5 super(x,y,sprite,layer);6 this.collider.enabled = true;7 }89 draw(context) 10 {11 super.draw();12 }13}