Containment
From IFWiki
- This article is about the world modeling concept of containment. For the CGDC7 game by Kevin Mintmier, see Containment (game).
The nesting of one object inside another. When a room contains objects (e.g. tables, cabinets, pedestals, canvas bags), which can, in turn, contain other objects or even secret levels.
Knowing how objects are stacked inside one another (and which objects are open or transparent) allows the game to calculate, for instance, whether a light source is visible to the player.
See also object tree and scope.
Code Compare: Container | |
ADRIFT 4: | Object is a container |
Hugo: | The container attribute |
Inform 6: | The container attribute |
Inform 7: | The container kind |
TADS 2: | The container and qcontainer classes |
TADS 3: | The Container class |