diff --git a/examples/game/test_physics.dart b/examples/game/test_physics.dart index 165ef91449..782f334d64 100644 --- a/examples/game/test_physics.dart +++ b/examples/game/test_physics.dart @@ -85,7 +85,6 @@ class TestBed extends NodeWithSize { } void myCallback(PhysicsContactType type, PhysicsContact contact) { - print("CONTACT type: $type"); } bool handleEvent(SpriteBoxEvent event) { diff --git a/packages/flutter_sprites/lib/src/node.dart b/packages/flutter_sprites/lib/src/node.dart index 92616f6ac5..7189fc112a 100644 --- a/packages/flutter_sprites/lib/src/node.dart +++ b/packages/flutter_sprites/lib/src/node.dart @@ -155,7 +155,7 @@ class Node { return _physicsWorld(parent.parent); } else { - print("physics not found"); + assert(false); return null; } }