Changes

Jump to navigation Jump to search

on.arrowDown

1 byte removed, 15:37, 1 June 2011
no edit summary
Line 1: Line 1:  
on.'''arrowDown'''() is an event handler. <br> This handler get called when the down arrow key gets pressed. <br>  
 
on.'''arrowDown'''() is an event handler. <br> This handler get called when the down arrow key gets pressed. <br>  
   −
== Example ==
+
== Example ==
    
<source lang="lua">
 
<source lang="lua">
Line 24: Line 24:  
platform.window:invalidate()
 
platform.window:invalidate()
 
end
 
end
(
+
 
 
function on.arrowRight()
 
function on.arrowRight()
 
msg = "Key right"
 
msg = "Key right"
Line 30: Line 30:  
end
 
end
   −
</source>  
+
</source>
    
== See Also ==
 
== See Also ==
68

edits

Navigation menu