Permalink
Browse files

Remove Dumper, warning.

  • Loading branch information...
jtpalmer committed Oct 4, 2010
1 parent 492bdf4 commit 8b2128a9e1ea014fdcecdeb5f63b6862f32363fe
Showing with 0 additions and 3 deletions.
  1. +0 −3 lib/Games/Maze/SDL/Model/Player.pm
@@ -8,7 +8,6 @@ use Games::Maze::SDL::Role::Observable;
use Games::Maze::SDL::Model::Maze;
use Collision::Util ':interval';
use POSIX 'floor';
-use Data::Dumper;
with 'Games::Maze::SDL::Role::Observable';
@@ -193,8 +192,6 @@ sub move {
foreach my $c (@collisions) {
my ( $wall, $axis ) = @$c;
- print Dumper( $axis, $wall ) if $axis->[0] || $axis->[1];
-
if ( $axis->[0] ) {
$d{x} = $wall->x - $self->width - 1 if $axis->[0] == -1;
$d{x} = $wall->x + 2 if $axis->[0] == 1;

0 comments on commit 8b2128a

Please sign in to comment.