class Room
A class to represent a room. A room is uniquely identified by its number, knows which characters and objects are in it, and knows which rooms are connected to it and in which direction
Attributes
characters[RW]
description[RW]
direction_data[RW]
name[RW]
number[RW]
Public Class Methods
new()
click to toggle source
# File lib/skirmish/world.rb, line 125 def initialize @direction_data = Hash.new @characters = Array.new end