Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 150 bytes modified
parent
33cde60fde
commit
44d6ba86cc
|
@ -147,6 +147,10 @@ this.state = {
|
|||
lives : 2
|
||||
};
|
||||
|
||||
GameLib.CustomCode.prototype.displayHUD = function() {
|
||||
this.canvasHUD.text('hello', 10, 10, '10px sans-serif', '#ffffff');
|
||||
}
|
||||
|
||||
GameLib.CustomCode.prototype.waitReload = function(delta) {
|
||||
|
||||
this.explodeTime += delta;
|
||||
|
@ -1164,7 +1168,8 @@ GameLib.Event.Subscribe(
|
|||
|
||||
this.initializeGrid();
|
||||
this.visualizeGrid();
|
||||
|
||||
this.displayHUD();
|
||||
|
||||
this.snake = [
|
||||
this.createGameObject(
|
||||
GameLib.CustomCode.OBJECT_TYPE_SNAKE_BODY,
|
||||
|
|
Loading…
Reference in New Issue