Start with the amount indicator

This commit is contained in:
Aaron Mueller 2014-12-06 17:42:23 +01:00
parent eecacde582
commit 8d5e7c10ff

View file

@ -24,7 +24,6 @@ class Tile extends BaseEntity
else else
@currentLayer += 1 @currentLayer += 1
moveIn: -> moveIn: ->
@isActive = true @isActive = true
@ -42,7 +41,11 @@ class Tile extends BaseEntity
# app.layer.drawImage app.images.selected, x*8, y*8 # app.layer.drawImage app.images.selected, x*8, y*8
if @isActive if @isActive
app.layer.drawImage app.images.active, x*8, y*8 app.layer.drawImage app.images.active, x*8, y*8
# Draw the status indicator. # Draw the status indicator.
for i in [0..5]
color = "#0a0"
color = "#0f0" if i == 5
app.layer.setPixel(color, x*8+1+i, y*8+6)