mirror of
https://github.com/gwenhael-le-moine/c-urs_-toil-s.git
synced 2024-12-26 09:58:48 +01:00
encapsulate everything in initialize_a_star()
This commit is contained in:
parent
fb35f9a22c
commit
42baf07f03
1 changed files with 292 additions and 292 deletions
|
@ -1,3 +1,4 @@
|
|||
function initialize_a_star( dom_container ) {
|
||||
var LEVEL_HEIGHT = 9;
|
||||
var LEVEL_WIDTH = 16;
|
||||
|
||||
|
@ -325,7 +326,6 @@ function load_sprites( theme ) {
|
|||
return sprites;
|
||||
}
|
||||
|
||||
function initialize_a_star( dom_container ) {
|
||||
var state = {
|
||||
moving : cell.BALL,
|
||||
distance_travelled : 0,
|
||||
|
|
Loading…
Reference in a new issue