Removed HitBox-DBG

This commit is contained in:
Oliver Rümpelein 2014-09-25 15:29:37 +02:00
parent a9c7f04230
commit 9c6276096a

View file

@ -1,8 +1,11 @@
{ {
// For Hitbox-Dbg: Add WiredHitBox to Components of the corresponding objects,
// and uncomment the section in
Crafty.c( Crafty.c(
"Wall", { "Wall", {
init: function() { init: function() {
this.addComponent("2D,Canvas,Color,Collision,WiredHitBox,wall,coll") this.addComponent("2D,Canvas,Color,Collision,wall,coll")
.color('black'); .color('black');
}, },
wall: function(x,y,w,h) { wall: function(x,y,w,h) {
@ -44,7 +47,7 @@
Crafty.c( Crafty.c(
"Creature", { "Creature", {
init: function() { init: function() {
this.addComponent("Thing,Fourway,Draggable,Collision,WiredHitBox,Mouse,creature,coll"); this.addComponent("Thing,Fourway,Draggable,Collision,Mouse,creature,coll");
}, },
creature: function(id,x,y,w,h,col) { creature: function(id,x,y,w,h,col) {
this.id=id || ""; this.id=id || "";