spell-cards.love/0048-learn_initialize

11 lines
278 B
Plaintext

learn_initialize = function()
Workbook = edit.initialize_state(
50, -- top
20 + 50, App.screen.width-50,
love.graphics.getFont(), Font_height, Line_height)
Text.redraw_all(Workbook)
Answer_idx = love.math.random(#Words)
if Answer_idx then
play(Answer_idx)
end
end