Commit 68be30e0 authored by Viktor Lidholt's avatar Viktor Lidholt

Removes debug printouts in sprite physics

parent 37086673
...@@ -85,7 +85,6 @@ class TestBed extends NodeWithSize { ...@@ -85,7 +85,6 @@ class TestBed extends NodeWithSize {
} }
void myCallback(PhysicsContactType type, PhysicsContact contact) { void myCallback(PhysicsContactType type, PhysicsContact contact) {
print("CONTACT type: $type");
} }
bool handleEvent(SpriteBoxEvent event) { bool handleEvent(SpriteBoxEvent event) {
......
...@@ -155,7 +155,7 @@ class Node { ...@@ -155,7 +155,7 @@ class Node {
return _physicsWorld(parent.parent); return _physicsWorld(parent.parent);
} }
else { else {
print("physics not found"); assert(false);
return null; return null;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment