00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef _OGREBULLET_Constraints_Demo__H
00014 #define _OGREBULLET_Constraints_Demo__H
00015
00016 #include "OgreBulletDynamics.h"
00017 #include "OgreBulletListener.h"
00018
00019
00020 class Constraints_Demo : public OgreBulletListener
00021 {
00022 public:
00023
00024 Constraints_Demo() : OgreBulletListener()
00025 {
00026 mName = "Constraints Demo";
00027 };
00028 virtual ~Constraints_Demo(){};
00029
00030 void init(Ogre::Root *root, Ogre::RenderWindow *win, OgreBulletApplication *application);
00031
00032 void keyPressed(BULLET_KEY_CODE key);
00033 };
00034
00035
00036 #endif //_OGREBULLET_Constraints_Demo__H
00037