Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Combo.h

Go to the documentation of this file.
00001 /* Combo - Text that displays the size of the current combo. */ 00002 00003 #ifndef COMBO_H 00004 #define COMBO_H 00005 00006 #include "ActorFrame.h" 00007 #include "Sprite.h" 00008 #include "BitmapText.h" 00009 #include "PlayerNumber.h" 00010 #include "GameConstantsAndTypes.h" // for TapNoteScore 00011 00012 00013 class Combo : public ActorFrame 00014 { 00015 public: 00016 Combo(); 00017 00018 void Init( PlayerNumber pn ) { m_PlayerNumber = pn; } 00019 00020 void SetCombo( int iCombo, int iMisses ); 00021 00022 protected: 00023 00024 PlayerNumber m_PlayerNumber; 00025 00026 Sprite m_sprComboLabel; 00027 Sprite m_sprMissesLabel; 00028 BitmapText m_textNumber; 00029 }; 00030 00031 #endif 00032 00033 /* 00034 * (c) 2001-2004 Chris Danford 00035 * All rights reserved. 00036 * 00037 * Permission is hereby granted, free of charge, to any person obtaining a 00038 * copy of this software and associated documentation files (the 00039 * "Software"), to deal in the Software without restriction, including 00040 * without limitation the rights to use, copy, modify, merge, publish, 00041 * distribute, and/or sell copies of the Software, and to permit persons to 00042 * whom the Software is furnished to do so, provided that the above 00043 * copyright notice(s) and this permission notice appear in all copies of 00044 * the Software and that both the above copyright notice(s) and this 00045 * permission notice appear in supporting documentation. 00046 * 00047 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00048 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00049 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00050 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00051 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00052 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00053 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00054 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00055 * PERFORMANCE OF THIS SOFTWARE. 00056 */

Generated on Thu Jan 27 20:57:18 2005 for StepMania by doxygen 1.3.7