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