class Tile extends BaseEntity
  constructor: (options) ->
    super options

    @layers = (new Tilelayer(type: restype) for restype, amount in app.game.resources)

    @currentLayer = getRandomInt 0, 4

  tick: (delta) ->
    # TODO: digging deeper?

  render: (x, y)->
    tile = @layers[@currentLayer]
    tile.render(app.layer, x, y)
