encapsulate everything in initialize_a_star()
This commit is contained in:
parent
1c7c308c60
commit
032996dd52
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