Commit 3c182dd

mo k <mo@mokhan.ca>
2012-11-05 05:14:21
forward directly to location instead of plateau.
1 parent 611fa14
Changed files (1)
lib/rover.rb
@@ -10,7 +10,7 @@ class Rover
   end
 
   def drive
-    @plateau.move_forward_from(@location)
+    @location.forward(@plateau)
   end
 
   def is_facing(direction)