mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2024-12-26 09:58:48 +01:00
order (and discipline)
This commit is contained in:
parent
bcda3f4b2a
commit
6e59e385ea
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue