Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 264 bytes modified

beta.r3js.org
-=yb4f310 2018-03-22 11:52:44 +01:00
parent e39f0b6d18
commit 723c7d7ec7
1 changed files with 19 additions and 20 deletions

View File

@ -949,7 +949,6 @@ GameLib.Event.Subscribe(
this.initializeGrid(); this.initializeGrid();
this.snake = [
this.createGameObject( this.createGameObject(
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
GameLib.CustomCode.BODY_TYPE_BREAD_HEAD, GameLib.CustomCode.BODY_TYPE_BREAD_HEAD,
@ -958,17 +957,17 @@ GameLib.Event.Subscribe(
y : 4 y : 4
}, },
GameLib.CustomCode.ORIENTATION_UP GameLib.CustomCode.ORIENTATION_UP
), );
this.createGameObject( this.createGameObject(
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY, GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
GameLib.CustomCode.BODY_TYPE_BREAD_HEAD, GameLib.CustomCode.BODY_TYPE_BREAD_TAIL,
{ {
x : 4, x : 4,
y : 3 y : 3
}, },
GameLib.CustomCode.ORIENTATION_UP GameLib.CustomCode.ORIENTATION_UP
) );
];
//this.visualizeGrid(); //this.visualizeGrid();