UNPKG
lettuce
Version:
latest (0.2.4)
0.2.4
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Lettuce JS, Mini Mobile Framework for Romantic with DSL.
github.com/phodal/lettuce
phodal/lettuce
lettuce
/
learning
/
melonJS
/
examples
/
isometric_rpg
/
js
/
screens
/
play.js
16 lines
(14 loc)
•
314 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
game.PlayScreen = me.ScreenObject.
extend
({
/** * action to perform on state change */
onResetEvent
: function() {
// load a level
me.levelDirector.
loadLevel
(
"isometric"
); },
/** * action to perform on state change */
onDestroyEvent:
function
(
)
{ } });