Update Shooting.lua

This commit is contained in:
Igor Timofeev 2015-08-23 15:36:24 +03:00
parent 15e0102fb6
commit 147aec6b71

View File

@ -144,8 +144,6 @@ local function drawMishen()
drawKrug(xCenter, yCenter, 20 - i*2, color)
end
SetPixel(xCenter, yCenter, 0xff0000)
newObj("Buttons", "Выйти", ecs.drawAdaptiveButton(xScore, 37, 14, 1, "Выйти", ecs.colors.blue, 0xffffff))
end
local function AddPlayer(name)
@ -233,7 +231,11 @@ local function drawLastScore(x, y, score, color)
ecs.square((x + 6) * 2, y, 35, 7, 0x262626)
drawKrug(x + 3, y + 3, 3, color)
drawText(x + 9, y, score, 0xffffff)
newObj("Buttons", "Выйти", ecs.drawAdaptiveButton(xScore, 37, 14, 1, "Выйти", ecs.colors.blue, 0xffffff))
end
local function Tir()
ecs.prepareToExit()