love.system
Posted: Sat Dec 26, 2009 6:11 pm
So - if love.system has beed removed, what doI have to call to get those functions working again?
Code: Select all
function love.keypressed(key)
--exit the game when ESC is pressed
if key == love.key_escape then
love.system.exit()
end
--restart the game when R is presses
if key == love.key_r then
love.system.restart()
end
end