| Class TGameEnvironment (unit GameEnv) |
****** * * Module: GameEnv * Author: Joe Kessler * IntegrationWare - A New Generation of Extraordinary PC Solutions * www.integrationware.com * * Purpose: * * The TGameEnvironment class keeps track of the current environment, * such as the current video, audio, and input objects. * ******
| Constructors |
constructor Create(szINIFilename: String;
devSound: TSoundDevice;
devVideo: TVideoDevice;
devInput: TInputDevice);| Functions |
destructor Destroy;
function devGetInputDevice: TInputDevice;
function devGetSoundDevice: TSoundDevice;
function devGetVideoDevice: TVideoDevice;
procedure SetInputDevice(devInput: TInputDevice);
procedure SetSoundDevice(devSound: TSoundDevice);
procedure SetVideoDevice(devVideo: TVideoDevice);| Properties |
| Events |
| Variables |
m_devInput : TInputDevice;
m_devSound : TSoundDevice;
m_devVideo : TVideoDevice;| Constructors |
constructor Create(szINIFilename: String;
devSound: TSoundDevice;
devVideo: TVideoDevice;
devInput: TInputDevice);Public constructor and destructor.
| Functions |
destructor Destroy;Stash references to video, audio, and input devices.
function devGetInputDevice: TInputDevice;
function devGetSoundDevice: TSoundDevice;Methods to retrieve input and output devices.
function devGetVideoDevice: TVideoDevice;
procedure SetInputDevice(devInput: TInputDevice);
procedure SetSoundDevice(devSound: TSoundDevice);Methods to set th input and output devices.
procedure SetVideoDevice(devVideo: TVideoDevice);| Properties |
| Events |
| Variables |
m_devInput : TInputDevice;
m_devSound : TSoundDevice;
m_devVideo : TVideoDevice;