MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | CONCEPT |
| 2 | objects |
| 3 | |
| 4 | LAST UPDATED |
| 5 | never |
| 6 | |
| 7 | DESCRIPTION |
| 8 | An object consists of a collection of functions (also called |
| 9 | 'methods') and data (variables) on which the functions operate. |
| 10 | The only way to manipulate the data contained in an object is |
| 11 | via one of the functions defined by the object. |
| 12 | |
| 13 | Every single thing in a mud is an object. Rooms are objects. |
| 14 | Weapons are objects. Even your character is an object (a special |
| 15 | kind of object called "interactive" but still an object in most |
| 16 | every respect). Each object (except possibly virtual objects) in |
| 17 | the mud is associated with some file written in LPC (in the mud's |
| 18 | directory structure) that describes how the object is to interact |
| 19 | with the gamedriver and the rest of the objects in the mud. |
| 20 | |
| 21 | AUTHOR |
| 22 | Someone |
| 23 | |
| 24 | SEE ALSO |
| 25 | files(C), inheritance(C), create(A), reset(A) |