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.4 -r1.5 --- openacs-4/packages/simulation/www/doc/object-orientation-notes.html 10 Nov 2003 16:56:57 -0000 1.4 +++ openacs-4/packages/simulation/www/doc/object-orientation-notes.html 12 Nov 2003 11:17:28 -0000 1.5 @@ -1,5 +1,4 @@ - -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 @@ -11,7 +10,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
@@ -28,13 +27,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
@@ -44,4 +43,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