Class TGameEnvironment (unit GameEnv) |
Inherits from
TAppEnvironment
******
*
* 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.
*
******
constructor Create(szINIFilename: String;
devSound: TSoundDevice;
devVideo: TVideoDevice;
devInput: TInputDevice);
- Public constructor and destructor.
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);
m_devInput : TInputDevice;
m_devSound : TSoundDevice;
m_devVideo : TVideoDevice;
constructor Create(szINIFilename: String;
devSound: TSoundDevice;
devVideo: TVideoDevice;
devInput: TInputDevice);
Public constructor and destructor.
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);
m_devInput : TInputDevice;
m_devSound : TSoundDevice;
m_devVideo : TVideoDevice;