Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def north=(room)
- room.south = self
- @north = room
- end
- def south=(room)
- room.north = self
- @south = room
- end
- def east=(room)
- room.west = self
- @east = room
- end
- def west=(room)
- room.east = self
- @west = room
- end
Add Comment
Please, Sign In to add comment