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

seesaw.h

Go to the documentation of this file.
00001 
00008 #ifndef _SEESAW_H
00009 #define _SEESAW_H
00010 
00011 #include "shapeobject.h"
00012 
00013 #include "object.h"
00014 #include "shape.h"
00015 
00016 class Seesaw : public ShapeObject {
00017 public:
00018     Seesaw( Model *model, Vec3 position = Vec3( 0.0, 0.0, 0.0 ), dMatrix3 orientation = NULL, Vec3 scale = Vec3( 1.0, 1.0, 1.0 ), double mass = 1.0, bool on = false, bool stationary = true, bool movable = false, const bool rotatable[3] = NULL );
00019     virtual ~Seesaw();
00020 
00021     virtual void render( bool selected = false );
00022     virtual void start_sim( void );
00023 
00024     virtual string get_type_str( ) const { return "seesaw"; }
00025 private:
00026     dJointID _hinge;
00027 };
00028 
00029 #endif // header guard

Generated on Sat Mar 13 15:00:10 2004 by doxygen 1.3.5