Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 26 bytes modified
parent
0f0a4f6172
commit
4d28c31b40
|
@ -940,11 +940,13 @@ GameLib.Event.Subscribe(
|
||||||
powerup.dispose();
|
powerup.dispose();
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
orientation : GameLib.CustomCode.ORIENTATION_UP
|
orientation : GameLib.CustomCode.ORIENTATION_UP
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.initializeGrid();
|
||||||
|
|
||||||
this.snake = [
|
this.snake = [
|
||||||
this.createGameObject(
|
this.createGameObject(
|
||||||
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
||||||
|
@ -966,7 +968,7 @@ GameLib.Event.Subscribe(
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
this.initializeGrid();
|
|
||||||
//this.visualizeGrid();
|
//this.visualizeGrid();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue