StarTrekV3_Linux  Version3
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Pages
TKeyMapper Class Reference

#include <KeyMapper.h>

Public Member Functions

 TKeyMapper (ALLEGRO_COLOR a_ColorMapped, ALLEGRO_COLOR a_ColorMapping, ALLEGRO_FONT *a_pFont)
 
void SetDefaultMapping ()
 
bool MapKey (int a_nKey)
 
void DrawMapping ()
 
bool IsKey (int a_nKeyNr, KEYS a_MappedKey)
 
void Save (ofstream &a_SaveStream)
 
void Load (ifstream &a_LoadStream)
 

Constructor & Destructor Documentation

TKeyMapper::TKeyMapper ( ALLEGRO_COLOR  a_ColorMapped,
ALLEGRO_COLOR  a_ColorMapping,
ALLEGRO_FONT *  a_pFont 
)

Member Function Documentation

void TKeyMapper::DrawMapping ( )
bool TKeyMapper::IsKey ( int  a_nKeyNr,
KEYS  a_MappedKey 
)
void TKeyMapper::Load ( ifstream &  a_LoadStream)
bool TKeyMapper::MapKey ( int  a_nKey)
void TKeyMapper::Save ( ofstream &  a_SaveStream)
void TKeyMapper::SetDefaultMapping ( )

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