Update: CC - Entity Loaded - Moorcow (o73bkh2tlq.js) 431 bytes modified

beta.r3js.org
-=yb4f310 2017-11-11 14:33:08 +01:00
parent e04968d83f
commit e2569017a3
1 changed files with 19 additions and 0 deletions

View File

@ -38,6 +38,25 @@ this.star = GameLib.EntityManager.Instance.findComponentById('tmut3carec');
this.burger = GameLib.EntityManager.Instance.findComponentById('j88zs01szc');
this.parcel = GameLib.EntityManager.Instance.findComponentById('l91pfxkwml');
this.camera = GameLib.EntityManager.Instance.findComponentById('k9ain64rlp');
GameLib.Event.Emit(
GameLib.Event.GET_GRAPHICS_IMPLEMENTATION,
null,
function(graphics) {
this.graphics = graphics
}.bind(this)
);
this.mouse = new GameLib.Mouse(this.graphics);
this.raycaster = new GameLib.D3.Raycaster(this.graphics);
/**
* Link some objects
*/
this.mouseMove.mouse = this.mouse;
this.mouseMove.raycaster = this.raycaster;
/**
* Plant all our trees
*/