increment distance

This commit is contained in:
Gwenhael Le Moine 2011-07-06 18:01:55 +02:00
parent 912952c300
commit ff61256dff

View file

@ -84,6 +84,8 @@ p (coord[ 'x' ] + d[ 'x' ]).to_s + ", " + (coord[ 'y' ] + d[ 'y' ]).to_s + ": "
coord[ 'y' ] = coord[ 'y' ] + d[ 'y' ]
set_cell( coord[ 'x' ], coord[ 'y' ], @whats_moving )
@distance = @distance + 1
end
end