2018-03-12 14:24:45 +01:00
|
|
|
if (!this.entityLoaded) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!this.initialized) {
|
|
|
|
this.initialized = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
this.advanceSnake(data.delta);
|
|
|
|
|
2018-03-20 15:02:02 +01:00
|
|
|
this.createFood(data.delta);
|
|
|
|
|
2018-03-12 14:24:45 +01:00
|
|
|
//@ sourceURL=beforeRender.js
|