Next:
Storage Issues
, Previous:
Ex-DB Design
, Up:
Top
5 Class Definitions
General Class Issues
: Caveats for class creation, and a list of methods that every class should (re-) define.
The Class Hierarchy
: I apologize for the lack of a pretty tree. Deal.
class MozBase
: The bottom-level class.
class Storage
: The persistent storage class.
class Server
: The incoming TCP/IP handling class.
class Described
: The basic described object. Has no location. Normally not instantiated.
class Located
: Basic located object (i.e. has an intrinsic location).
class Mobile
: Basic mobile object (i.e. has an intrinsic location that can be changed).
class Location
: Basic location object (i.e. has contents).
class Player
: Takes parsed input and calls commands.
class Wizard
: Just like Player, but with more capabilities, and hence some extra commands.
class Puppet
: An automaton version of Player.
class Container
: Combination of the features of Mobile and Location; a thing that can have things in it.
class Exit
: A connector between Locations. Has no location itself.
class Gate
: Like Exit, but connects locations between two MOZs.
class Terminus
: Like Location, but provides a connecting point for a Gate.
class Connection
: Handles TCP/IP connections.
class Parser
: Parses user input and deals with finding the right verbs to pass the user's input to.
class Control
: Used to generate objects used to control other objects.
class ClassControl
: Used to generate objects used to create and control new classes.