00001 #include "..\RainLib\Headers\RainHooks.h" 00002 00003 #include "..\RainLib\Headers\RainVector.h" 00004 00005 class CTestHooks:public CRainHooks 00006 { 00007 public: 00008 CTestHooks(); 00009 virtual ~CTestHooks(); 00010 00011 virtual bool Init(ISoundPlayer* pSoundPlayer, CRainGraphics* pRenderer); 00012 00013 virtual bool OnFrame(); 00014 00015 protected: 00016 bool UpdateEntityPos(); 00017 00018 ISoundPlayer* m_pSoundPlayer; 00019 CRainGraphics* m_pRenderer; 00020 00021 UINT m_uModelIndex; 00022 UINT m_uEntityIndex; 00023 00024 CRainVector<3> m_CameraDirection; 00025 00026 };