 
         load: (cb) ->
             @once "ready", cb if cb
+
+            @init_player()
 
             # TODO: Compute block index from position
             block = {x: 0, y: 0}

        constructor: (@screen) ->
            $e.Ticker.addListener @
            @blocks = {}
            @player = {x: 0, y: 0}
            @camera = {x: 0, y: 0}

        ready: () =>

                new Block data, (b) =>
                    @blocks[block.x] ?= {}
                    @blocks[block.x][block.y] = b
                    @screen.stage.addChildAt b.container, @screen.stage.getChildIndex(@player.avatar)
            .error =>
                console.log "Failed to fetch block."

            @ready()

        init_player: () =>
            g = new $e.Graphics()
            g.beginStroke("#F00")
             .beginFill("#0F0")
             .drawRect(@player.x, -@player.y, 32, 32)

            @player.avatar = new $e.Shape(g)
            @player.avatar.regX = @player.avatar.regY = 16

            @screen.stage.addChild @player.avatar

        tick: (elapsed, paused) =>
            window.elapsed = elapsed
