Object

From IFWiki

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

In IF, the fundamental component of the model world, generally simulating some physical thing (such as an inventory item or piece of scenery) or an entity the player can interact with (such as an NPC or an "esoteric" object, like a shaft of sunlight). In most authoring systems, game objects are represented by a programmatic object. Programmatic objects are also used in IF to represent abstract concepts, such as a piece of knowledge, or to control other aspects of the game's behavior.

In computer programming, an object is a structure which encapsulates both data (attributes) and executable procedures (methods).