simple.lua

--[[ SimpleScheduler ]]--
ROT=require 'src.rot'
function love.load()
    f=ROT.Display(80, 24)
    s=ROT.Scheduler.Simple:new()
    for i=1,3 do s:add(i, true) end
end
function love.update()
    love.timer.sleep(.5)
    f:writeCenter('TURN: '..s:next())
end
function love.draw() f:draw() end
--]]
generated by LDoc 1.4.6 Last updated 2017-07-19 18:43:03