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

KeyDesc.cpp

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2004 Ivo Danihelka (ivo@danihelka.net)
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  */
00009 #include "KeyDesc.h"
00010 
00011 //-----------------------------------------------------------------
00012 /**
00013  * Create new key description.
00014  * @param index key index should be unique in one GameState
00015  * @param desc text description
00016  */
00017 KeyDesc::KeyDesc(int index, const std::string &desc)
00018     : m_desc(desc)
00019 {
00020     m_index = index;
00021 }
00022 

Generated on Wed Jun 1 09:54:31 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2