added new debug draw

This commit is contained in:
logsol 2015-02-28 21:27:42 +01:00
parent 13af9ecb9c
commit 20a974124e
7 changed files with 188 additions and 7 deletions

View file

@ -9,10 +9,11 @@ define([
"Game/Client/View/LayerManager",
"Game/Client/View/Pixi/Layers/Ghost",
"Game/Client/View/Pixi/Layers/Swiper",
"Game/Client/PointerLockManager"
"Game/Client/PointerLockManager",
"Game/Client/View/Pixi/Layers/Debug"
],
function (Parent, DomController, PIXI, Settings, Nc, Exception, GameStats, LayerManager, Ghost, Swiper, PointerLockManager) {
function (Parent, DomController, PIXI, Settings, Nc, Exception, GameStats, LayerManager, Ghost, Swiper, PointerLockManager, Debug) {
"use strict";
@ -83,6 +84,9 @@ function (Parent, DomController, PIXI, Settings, Nc, Exception, GameStats, Layer
this.swiperLayer = new Swiper();
this.layerManager.insert(this.swiperLayer, false);
this.debugLayer = Debug;
this.layerManager.insert(this.debugLayer, false);
this.render();
}