diff options
| author | Sgeo <[email protected]> | 2017-06-15 18:34:40 -0400 |
|---|---|---|
| committer | Sgeo <[email protected]> | 2017-06-15 18:34:40 -0400 |
| commit | 9bac6b1d83a04985217f373714a9771e071f923d (patch) | |
| tree | b27e96f8054823260ff404d957e36415232301bf | |
| parent | Destroyed test (markdown) (diff) | |
| download | libreworlds-wiki-9bac6b1d83a04985217f373714a9771e071f923d.tar.xz libreworlds-wiki-9bac6b1d83a04985217f373714a9771e071f923d.zip | |
Updated Persister (.world etc.) format (markdown)
| -rw-r--r-- | Persister-(.world-etc.)-format.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Persister-(.world-etc.)-format.md b/Persister-(.world-etc.)-format.md index 8786548..1710cfd 100644 --- a/Persister-(.world-etc.)-format.md +++ b/Persister-(.world-etc.)-format.md @@ -31,6 +31,10 @@ If the Object ID has been seen before within this file, reuse the associated obj Objects often contain other objects. Even if object A (e.g. World) is expected to only contain B (e.g. a Hashtable), B will still have the class ID and potentially class name. This will be noted in these docs as "Explicit" as a reminder. There are exceptions where there is no object ID and class name (usually because of an is-a relationship). These will be noted as "Implicit". +## Subtyping + +Some classes are subtypes of others. For example, [[WrStaircase|NET.worlds.scape.WrStaircase]] is a subtype of [[Room|NET.worlds.scape.Room]]. This means that WrStaircase can be used when an Explicit (not Implicit) Room is expected. + ## Example from GroundZero | "PERSISTER Worlds, Inc." | Persister version | Object ID | Class ID | Class name | |