You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
love2d-tank/KeyPressed.lua

14 lines
173 B

7 months ago
function KeyPressed(key)
if key == "escape" then
love.event.quit()
end
if key == "b" then
DebugFlag = not DebugFlag
end
if key == "r" then
love.load()
end
end