mobj
mobj, short for moving object, is the core object type used by the Doom engine and its derivatives to represent any entity that can move or interact in the game world. It covers players, monsters, projectiles, items, and other dynamic objects that populate a map.
In the engine, a mobj contains spatial data, collision information, and state data. Typical fields include the
Behaviorally, mobj instances are updated by a thinker mechanism each game tick. Each mobj has a state
Lifecycle-wise, mobj objects are spawned by maps or scripts, persisted in the game world while active, and