 | Purpose:
Implements the table of keys in use to control the tank. Maps between the virtual
key code and the action. |
 | Methods:
CKeysTable (const CKeysTable& rhs) - Copy constructor.
CKeysTable& operator= (const CKeysTable& rhs) -
Assignment operator.
UINT GetKey (int ind) const - Return the virtual key code of the
given key index.
BOOL SetKey (int ind, UINT key) -Sets a new key after checking
it's uniqueness. Return TRUE if succeeded.
void RestoreDefault() - Get default keys from Game consts.
void InitTable() - Get keys' bindings from registry. |
|