 				@bufferPut (e.x - c.x + x), (e.y - c.y + y), graphic
 
 	renderHealth: (x, y) ->
-		program.fillArea x, y, 40, 2, ' '
+		@fillArea x, y, 40, 2, ' '
 		health = @game.player.creature.health
 
 		@renderRatio x, y, health, ' health'

	write: (x, y, str) ->
		for c,i in str
			@bufferPut x+i, y, c

	bufferToString: ->
		out = ''

			entityLayer[a.type] - entityLayer[b.type]

		@renderEntities x, y, entities
		@renderEffects x, y

	renderEntities: (x, y, entities) ->
		c = @game.camera
