Start with the amount indicator
This commit is contained in:
parent
eecacde582
commit
8d5e7c10ff
1 changed files with 6 additions and 3 deletions
|
@ -24,7 +24,6 @@ class Tile extends BaseEntity
|
|||
else
|
||||
@currentLayer += 1
|
||||
|
||||
|
||||
moveIn: ->
|
||||
@isActive = true
|
||||
|
||||
|
@ -42,7 +41,11 @@ class Tile extends BaseEntity
|
|||
# app.layer.drawImage app.images.selected, x*8, y*8
|
||||
if @isActive
|
||||
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)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue