00001 #ifndef _BETABETAMARI_H 00002 #define _BETABETAMARI_H 00003 00004 #include "MercuryODE.h" 00005 00007 class BetaBetaMari : public MercuryODEObjectLoadable 00008 { 00009 public: 00010 BetaBetaMari() { }; 00011 BetaBetaMari( const MString & sName ) { SetName( sName ); } 00012 ~BetaBetaMari(); 00013 virtual void Init(); 00014 virtual void Update( const float dTime ); 00015 virtual bool Collide( MercuryODEObject * pHit, dContact & pContact, MercuryODEWorld * pWorld ); 00016 virtual void Message( int Message, PStack & data, const MString & name ); 00017 CLASS_RTTI( BetaBetaMari, MercuryODEObjectLoadable ); 00018 private: 00019 //Size Mari should be 00020 float fMariSize; 00021 //Size Mari was 00022 float fOldMariSize; 00023 //ODE GeomID Describing collision sphere 00024 dGeomID m_pSph; 00025 }; 00026 00027 #endif 00028 00029 /* 00030 * (PD) 2006 Charles Lohr 00031 * No rights reserved. 00032 * 00033 * All code inside of this document is hereby released into the 00034 * public domain. It may be used for any purpose without limitation. 00035 * 00036 */