Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

KeyDesc Class Reference


Detailed Description

Description of control key.

Definition at line 9 of file KeyDesc.h.

Public Member Functions

 KeyDesc (int index, const std::string &desc)
 Create new key description.
int getIndex () const
std::string getDesc () const


Constructor & Destructor Documentation

KeyDesc::KeyDesc int  index,
const std::string &  desc
 

Create new key description.

Parameters:
index key index should be unique in one GameState
desc text description

Definition at line 17 of file KeyDesc.cpp.

00018     : m_desc(desc)
00019 {
00020     m_index = index;
00021 }


Member Function Documentation

std::string KeyDesc::getDesc  )  const [inline]
 

Definition at line 17 of file KeyDesc.h.

00017 { return m_desc; }

int KeyDesc::getIndex  )  const [inline]
 

Definition at line 16 of file KeyDesc.h.

00016 { return m_index; }


The documentation for this class was generated from the following files:
Generated on Wed Jun 1 09:55:30 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2