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

ReceptorArrowRow.h

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

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