Class: Renderer

Renderer

Renderer is used to Render a GameObject, you can add unlimited renderers on a gameObject and they can have offsets
when you want to create a customized Renderer, you have to herits from this one (you can look at SpriteRenderer, BoxRenderer, CircleRenderer... are pretty good examples) !!Warning!! Default Renderer.render is empty, do not forget did it when you create custom Renderer

new Renderer()

Source:
Example
 function MyRenderer = function( params, args )
{
  DE.Renderer.call( this, params );
}
MyRenderer.prototype = new Renderer();
MyRenderer.prototype.constructor = MyRenderer;
MyRenderer.prototype.supr        = Renderer.prototype;
Dreamirl Copyright © 2014 And the contributors
Documentation generated by JSDoc 3.2.2 on Thu Apr 24 2014 11:56:41 GMT+0200 (CEST) using the DocStrap template.