Table of Contents

Class: Room pubobjs.py

Basic Room object, a special Container. A special case of container to use as a room. The room is contained in the PUB universe and has a light property and a large size (5000), so that it will not complain about containing objects including the player.

It also has a Tell method which seems to broadcast messages to anyone in the room (Player or NPC?)

base class of any room or location

Base Classes   
Container
Methods   
ComputeTotalLight
GetDesc
Tell
__init__
  ComputeTotalLight 
ComputeTotalLight ( self )

Count how many light sources we have available.
Including ones contained in (transparent or open?) containers in the room.
  GetDesc 
GetDesc ( self,  pLooker=None )

Get the Room's Description
Get a description of the room for 'Look'ers and 'Camera's (etc.)
  Tell 
Tell (
        self,
        pWhat,
        *pExcept,
        )

Broadcast info to Actors in Room
If we Tell a Room, it means Tell all the 'Actor's in the Room.
  __init__ 
__init__ ( self,  pNames='' )


Table of Contents

This document was automatically generated on Mon Aug 8 17:04:06 2005 by HappyDoc version 2.1