Index: openacs-4/packages/simulation/www/doc/object-orientation-notes.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/doc/object-orientation-notes.html,v diff -u -r1.3 -r1.4 --- openacs-4/packages/simulation/www/doc/object-orientation-notes.html 17 Oct 2003 12:02:45 -0000 1.3 +++ openacs-4/packages/simulation/www/doc/object-orientation-notes.html 10 Nov 2003 16:56:57 -0000 1.4 @@ -1,4 +1,5 @@ -Notes on an object-oriented simulated space

Notes on an object-oriented simulated space

An OpenACS simulation is a collection of interactive + +Notes on an object-oriented simulated space

Notes on an object-oriented simulated space

An OpenACS simulation is a collection of interactive objects, plus a set of roles and tasks. In the first part, it is conceptually similar to a MOO (Multiple-User Dungeon, Object-Oriented). This is a technology dating to 1990, in which @@ -10,7 +11,7 @@ Games), which are essentially MOOs with graphical instead of textual interfaces. Given their lineage and success, it makes sense to draw on MOO technology when designing our simulation - object model.

Objects

Basic MOO objects

+      object model.

Objects

Basic MOO objects

 Root Class
   Room
   Thing
@@ -27,13 +28,13 @@
     Exit
     Container
       Openable Container
-

Object Attributes

(From the LambdaMOO Programmer's Manual

+

Object Attributes

(From the LambdaMOO Programmer's Manual

 There are three fundamental attributes to every object:
 
    1. A flag (either true or false) specifying whether or not the object represents a player,
    2. The object that is its parent, and
    3. A list of the objects that are its children; that is, those
-   objects for which this object is their parent. 

"Every object has eight built-in properties whose values are constrained to be of particular types. "

+   objects for which this object is their parent. 

"Every object has eight built-in properties whose values are constrained to be of particular types. "

 name         a string, the usual name for this object
 owner        an object, the player who controls access to it
 location     an object, where the object is in virtual reality
@@ -43,4 +44,4 @@
 r            a bit, is the object publicly readable?
 w            a bit, is the object publicly writable?
 f            a bit, is the object fertile?
-

Verbs

Minimal MOO verbs:

  • put

    take

    get

    drop

View comments on this page at openacs.org
+

Verbs

Minimal MOO verbs:

  • put

    take

    get

    drop

View comments on this page at openacs.org