chuck.js/app/Game/Client/View/Pixi/Layers/Debug.js
2015-04-20 15:31:25 +02:00

20 lines
No EOL
362 B
JavaScript

define([
"Game/Client/View/Pixi/Layer",
"Lib/Vendor/Pixi",
],
function (Parent, PIXI) {
"use strict";
function Debug() {
Parent.call(this, "debug", 0.00000001);
this.graphics = new PIXI.Graphics();
this.container.addChild(this.graphics);
}
Debug.prototype = Object.create(Parent.prototype);
return new Debug();
});