Skip to content
Browse files

Fix typos

  • Loading branch information...
1 parent 3250d1a commit a9d27c0820971c9820e97cd324e66c242ea28542 @gabebw committed Sep 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 player.rb
View
4 player.rb
@@ -195,7 +195,7 @@ def current_location
def location_of_closest_enemy=(location)
@enemy_location = location
- endk
+ end
# UTILITY
def opposite_direction_of(dir)
@@ -243,6 +243,6 @@ def towards(location)
# Returns a direction that will bring the warrior farther away from the given location.
def away_from(location)
- opposite_direction_of(towards(location)
+ opposite_direction_of(towards(location))
end
end

0 comments on commit a9d27c0

Please sign in to comment.
Something went wrong with that request. Please try again.