/* $Id: noncollidableobject.hpp,v 1.5 2005/10/19 05:34:32 pohlt Exp $ */ #ifndef _NONCOLLIDABLES_HPP_ #define _NONCOLLIDABLES_HPP_ #include "attachableobject.hpp" #include "serialize.hpp" /******************************************************************************/ class NonCollidableObject : public AttachableObject { public: NonCollidableObject( void ): m_drawBeforeCollidableObjects( false ) {} bool getDrawBeforeCollidableObjects( void ) { return m_drawBeforeCollidableObjects; } void setDrawBeforeCollidableObjects( const bool before ) { m_drawBeforeCollidableObjects = before; } virtual void serialize( Uint8*& bufferPointer ) const; virtual void deserialize( Uint8*& bufferPointer ); virtual Uint32 getSerializeBufferSize() const; private: bool m_drawBeforeCollidableObjects; }; /******************************************************************************/ #endif // _NONCOLLIDABLES_HPP_