The Room type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Room()()()() | Initializes a new instance of the Room class |
![]() | Room(String) | Initializes a new instance of the Room class |
![]() | Room(Room) |
Create a room from an XmlDefs.Room object.
|
Methods
Name | Description | |
---|---|---|
![]() | AddCommand | |
![]() | AddEffect |
Adds an effect to this object. This calls Apply()()()() |
![]() | AddEventSubscriber |
Method AddEventSubscriber
|
![]() | AddToContainer(Thing) | |
![]() | AddToContainer(IEnumerable<(Of <<'(Thing>)>>)) | |
![]() | CalcBaseLight | |
![]() | CaluclateCoordinates | |
![]() | Destroy | |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | FindExit |
Finds an exit with an alias matching name.
If none found, returns null.
|
![]() | GetCommands | |
![]() | GetConditions |
GetConditions returns a list of conditions that are currently
present in the room. This is used mainly for rendering the
description. For example, the list of conditions returned might
contain things like "day", "rain", "night", "snow", etc. that
are used to select the appropriate description to display.
The basics are obtained from the weather and time objects.
|
![]() | GetCreatorToBlame | |
![]() | GetDefaultPosition | |
![]() | GetDefaultPositionPlural | |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetLightLevel | |
![]() ![]() | GetLoadedRoomCount | |
![]() | GetMatchingDescription |
This returns the RoomDescription that matches
the conditions returned by GetConditions.
|
![]() ![]() | GetRoom | |
![]() | GetRoomPath | |
![]() | GetType | (Inherited from Object.) |
![]() | GetVisibilityFor | |
![]() ![]() | GetWeakReferencedRoomCount | |
![]() | GetWeatherString | |
![]() | HasClassification | |
![]() ![]() | IsRoomLoaded |
Is a room loaded?
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | RemoveCommand | |
![]() | RemoveEffect |
Removes an effect from this object. This calls Remove()()()() |
![]() | RemoveEventSubscriber |
Method RemoveEventSubscriber
|
![]() | RemoveFromContainer(Thing) | |
![]() | RemoveFromContainer(IEnumerable<(Of <<'(Thing>)>>)) | |
![]() | RenderExitListFor |
Gives a string list of exits that the Living p can see.
|
![]() | RenderFor |
This will render the description of the room
appropriate for p.
|
![]() | RoomCounterTick | |
![]() | RoomFetched | |
![]() | RunAction | |
![]() | StartActions | |
![]() | StopActions | |
![]() ![]() | StrongReferenceRoom |
Moves a room to a strong reference.
|
![]() | ToString | (Inherited from Object.) |
![]() ![]() | UnloadRoom | |
![]() ![]() | WeakReferenceRoom |
Moves a room to a weak reference so that it can potentially be garbage collected.
|
Fields
Name | Description | |
---|---|---|
![]() | _actions | |
![]() | _baseLightLevel | |
![]() | _coordinates | |
![]() | _eventPropagations | |
![]() | _lightSources | |
![]() | _roomDescriptions | |
![]() | _usageCount | |
![]() | _zones |
Properties
Name | Description | |
---|---|---|
![]() | Actions | |
![]() | BaseLightLevel | |
![]() | Classifications | |
![]() | Commands |
A collection containing the command objects
that have been added to this room
|
![]() | Contents |
A collection containing the objects that are in
this container.
|
![]() | Creator | |
![]() | Effects | |
![]() | EventPropagations | |
![]() | EventSubscribers | |
![]() | Exits |
Returns an ArrayList of Exit with the exits for this
room.
|
![]() | Map | |
![]() | RoomDescriptions | |
![]() ![]() | RoomLoaders | |
![]() | Title | |
![]() | XmlFile | |
![]() | Zones |