Pictel 2d 0.1
Game Engine Documentation
|
Public Member Functions | |
void | Keep () |
void | Release () |
void | FreeMem () |
An abstract interface to deal with releasing object. During the course of the lifecycle of the game scripts many objects can be created. To limit the number of managers, those objects that do not belong to a manager land in a common ReleaseQueue. At the end of the script (or scene change) the ReleaseQueue is drained. The Queue should contain only those object that fit the "dangling in memory" criterion.
Some object may keep
the objects for longer thus preventing the MemoryI::ReleaseMem() function from actually releasing the object.