Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 126 bytes modified
parent
0eb25fb610
commit
ef9682bc43
|
@ -147,6 +147,14 @@ GameLib.CustomCode.prototype.advanceCamera = function(delta) {
|
||||||
}
|
}
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
|
||||||
|
GameLib.CustomCode.prototype.adjustSpeed = function(delta) {
|
||||||
|
|
||||||
|
if (this.speedUp) {
|
||||||
|
this.speed += delta;
|
||||||
|
}
|
||||||
|
|
||||||
|
}.bind(this);
|
||||||
|
|
||||||
GameLib.Event.Subscribe(
|
GameLib.Event.Subscribe(
|
||||||
GameLib.Event.GAME_START,
|
GameLib.Event.GAME_START,
|
||||||
function() {
|
function() {
|
||||||
|
|
Loading…
Reference in New Issue