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

    @layers = [
      new Tilelayer type: 'grass'
      new Tilelayer type: 'mud'
      new Tilelayer type: 'gravel'
      new Tilelayer type: 'stone'
      new Tilelayer type: 'gold'
    ]

    @currentLayer = 0

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

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