CKey Class Reference

#include <key.hpp>

List of all members.

Public Member Functions

 CKey ()
int operator[] (int) const
void SetEnabled (bool enable)

Private Attributes

Uint8 * key_list
bool is_enabled


Detailed Description

Definition at line 25 of file key.hpp.


Constructor & Destructor Documentation

CKey::CKey (  ) 

Definition at line 18 of file key.cpp.

References key_list.


Member Function Documentation

int CKey::operator[] ( int  code  )  const

Definition at line 26 of file key.cpp.

References is_enabled, and key_list.

void CKey::SetEnabled ( bool  enable  ) 

Definition at line 31 of file key.cpp.

References is_enabled.


Member Data Documentation

Uint8* CKey::key_list [private]

Definition at line 32 of file key.hpp.

Referenced by CKey(), and operator[]().

bool CKey::is_enabled [private]

Definition at line 33 of file key.hpp.

Referenced by operator[](), and SetEnabled().


The documentation for this class was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs