From 4d28c31b40af245702a7365dfeb97c827db1ad81 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Thu, 22 Mar 2018 11:49:57 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 26 bytes modified --- 21g30t1e75.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index bbb79a4..2e81267 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -940,11 +940,13 @@ GameLib.Event.Subscribe( powerup.dispose(); } ); - + this.state = { orientation : GameLib.CustomCode.ORIENTATION_UP }; + this.initializeGrid(); + this.snake = [ this.createGameObject( GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, @@ -966,7 +968,7 @@ GameLib.Event.Subscribe( ) ]; - this.initializeGrid(); + //this.visualizeGrid(); /**