Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'MyLib'
- KeyWait = function()
- coroutine.yield(obj.keyWait())
- end
- --[[
- return function()
- obj.timeWait();
- coroutine.yield("こんにちは");
- obj.keyWait();
- coroutine.yield("ADV の");
- obj.noWait();
- coroutine.yield("テストです");
- end
- ]]
- return function()
- Talk("太郎", "こんにちは")
- KeyWait()
- Talk("花子", "こんにちは")
- KeyWait()
- Talk("太郎", "いい天気ですね")
- KeyWait()
- Talk("花子", "そうですね\nいい天気です")
- KeyWait()
- end
Advertisement
Add Comment
Please, Sign In to add comment