mirror of
https://github.com/britzl/monarch.git
synced 2025-06-27 18:37:46 +02:00
11 lines
285 B
Plaintext
11 lines
285 B
Plaintext
local transitions = require "monarch.transitions.gui"
|
|
|
|
function init(self)
|
|
self.transition = transitions.in_right_out_left(gui.get_node("root"), 1)
|
|
end
|
|
|
|
function on_message(self, message_id, message, sender)
|
|
print(message_id)
|
|
self.transition.handle(message_id, message, sender)
|
|
end
|