Class
Exit
In:
lib/core/exit.rb
Parent:
GameObject
The
Exit
class is the mother of all exits.
Methods
leave
new
Public Class methods
new
(name, owner, location, to_room)
Create a new
Exit
object
name
The displayed name of the room
owner
The owner id of this room
return
A handle to the new
Room
.
Public Instance methods
leave
(e)
Event
:leave
e
The event
return
Undefined
[Validate]