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

@ -43,6 +43,7 @@ function (Parent, PIXI, ColorRangeReplaceFilter, Settings, ColorConverter) {
case "ghost": y++;
case "item": y++;
case "tile": y++;
case "debug": y++;
case "spawn": y=y;
}
@ -268,6 +269,7 @@ function (Parent, PIXI, ColorRangeReplaceFilter, Settings, ColorConverter) {
|| this.name == "tile"
|| this.name == "item"
|| this.name == "ghost"
|| this.name == "debug"
|| this.name == "swiper") {
this.container.x = this.position.current.x;
this.container.y = this.position.current.y;