Update: CC - Entity Loaded - Moorcow (o73bkh2tlq.js) 431 bytes modified
parent
e04968d83f
commit
e2569017a3
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue