Game class

A game class is a class of idClass type in the game code .

It provides real time type checking and events .

The base spawn class idEntity inherits from idClass .

Events from an instance of a game class can be exposed to the scripting system using a script event declaration in the global scripting namespace.