source: trunk/test/BtPhysTest.h @ 1888

Last change on this file since 1888 was 1888, checked in by lolbot, 8 years ago

fixed 23 files out of 277:

  • fixed 1270 CR characters
  • fixed 56 trailing spaces
  • fixed 5085 tabs
File size: 1.0 KB
Line 
1//
2// BtPhysTest
3//
4// Copyright: (c) 2009-2012 Benjamin Huet <huet.benjamin@gmail.com>
5//            (c) 2012 Sam Hocevar <sam@hocevar.net>
6//
7
8#if !defined __BTPHYSTEST_H__
9#define __BTPHYSTEST_H__
10
11class BtPhysTest : public WorldEntity
12{
13public:
14    BtPhysTest(bool editor = false);
15    virtual ~BtPhysTest();
16
17    char const *GetName() { return "<BtPhysTest>"; }
18
19protected:
20    virtual void TickGame(float seconds);
21    virtual void TickDraw(float seconds);
22
23private:
24    Camera*                                m_camera;
25    bool                                m_ready;
26
27    lol::phys::Simulation*                m_simulation;
28    Array<EasyConstraint*>                m_constraint_list;
29    Array<PhysicsObject*>                m_physobj_list;
30    Array<PhysicsObject*>                m_ground_list;
31    Array<PhysicsObject*>                m_platform_list;
32    Array<PhysicsObject*>                m_character_list;
33    Array<PhysicsObject*>                m_stairs_list;
34
35    float                                m_loop_value;
36};
37
38#endif // __BTPHYSTEST_H__
39
Note: See TracBrowser for help on using the repository browser.