order (and discipline)

This commit is contained in:
Gwenhael Le Moine 2011-07-15 08:50:11 +02:00
parent bcda3f4b2a
commit 6e59e385ea

View file

@ -272,10 +272,10 @@ function initialize_a_star( dom_container, level_index ) {
} }
} else if ( e.type === "keydown" ) { } else if ( e.type === "keydown" ) {
switch( e.keyCode ) { switch( e.keyCode ) {
case 38: // UP
case 40: // DOWN
case 37: // LEFT case 37: // LEFT
case 38: // UP
case 39: // RIGHT case 39: // RIGHT
case 40: // DOWN
state = make_a_move( e.keyCode ); state = make_a_move( e.keyCode );
break; break;
case 32: // SPACE case 32: // SPACE