Next: Defining Methods
Prev: Overview
Objects
Objects in Coldmud have four characteristics: a database
reference (called a dbref) which identifies the object, a list
of parent dbrefs which determine what default behavior the object
inherits, variables which store information, and methods
which determine how the object responds to messages. Objects refer to
each other using dbrefs, and interact with each other by sending
messages. The objects which a Coldmud server has to work with are known
collectively as the object database.
Coldmud gives special status to two objects, the system object
and the root object. The system object is allowed to call
administrative functions and receives startup and
heartbeat messages from the server. The root object is the only
object without parents, and is thus an ancestor of every object.
Menu:
- Dbrefs
- Database references
- Inheritance
- Parents and inheritance
- Messages
- Interaction between objects
- Variables and Parameters
- Information stored in objects
- System Object
- The system object