Memory

The memory module extends the current library’s handling of Thing’s seenBy() and setSeenBy() methods as well as implement a similar API for the Topic class with knownBy() and setKnownBy() methods. These methods access a LookupTable class object stored on each actor that keeps track of every object that is seen by or known by a the actor.

 

This allows each actor to maintain an independent memory of game objects. The implementation in Proteus is rudimentary, and is used in conjunction with the StackTraceInfo class in order to facilitate the use of Topic class in diagnostic meta-commands.

 

 

This file is part of the TADS 3 Proteus Library Extension

Copyright © 2001-2004 Kevin Forchione. All rights reserved.