From 68be30e0eccf06ac7182fe19972750c7bd6a599f Mon Sep 17 00:00:00 2001 From: Viktor Lidholt Date: Fri, 23 Oct 2015 13:46:19 -0700 Subject: [PATCH] Removes debug printouts in sprite physics --- examples/game/test_physics.dart | 1 - packages/flutter_sprites/lib/src/node.dart | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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; } }