deltaluca / nape

Haxe/AS3 Physics Engine
http://napephys.com
Other
542 stars 77 forks source link

Giving CbTypes a debug name #80

Closed bartvanheukelom closed 9 years ago

bartvanheukelom commented 10 years ago

It would be convenient if we could give new instances of CbType a name in the constructor, which is then returned as part of its toString(). This is easier to debug than "CbType#123"

deltaluca commented 10 years ago

Feel free to implement it, I see no issue with it since it'd not introduce any real overhead.

bartvanheukelom commented 10 years ago

I would, but I don't know Caxe, only Haxe.

deltaluca commented 10 years ago

It's just an extension of haxe, the changes should be small enough that you wouldn't even have to compile anything ;)