Event in lua (partial)
This commit is contained in:
@@ -2,6 +2,7 @@ module('platform')
|
||||
module('input')
|
||||
module('scene')
|
||||
module('locale')
|
||||
module('event')
|
||||
|
||||
-- Default Input bindings.
|
||||
if PLATFORM == "psp" then
|
||||
@@ -40,4 +41,10 @@ end
|
||||
|
||||
-- sceneSet('map')
|
||||
-- mapLoad('map/testmap/testmap.dmf')
|
||||
localeSet(DUSK_LOCALE_EN_US)
|
||||
localeSet(DUSK_LOCALE_EN_US)
|
||||
|
||||
function eventTest()
|
||||
print("Event system is working!")
|
||||
end
|
||||
|
||||
eventSubscribe(EVENT_TEST, eventTest)
|
||||
Reference in New Issue
Block a user