Guest User

Untitled

a guest
Jun 24th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. def north=(room)
  2. room.south = self
  3. @north = room
  4. end
  5.  
  6. def south=(room)
  7. room.north = self
  8. @south = room
  9. end
  10.  
  11. def east=(room)
  12. room.west = self
  13. @east = room
  14. end
  15.  
  16. def west=(room)
  17. room.east = self
  18. @west = room
  19. end
Add Comment
Please, Sign In to add comment