source: trunk/test/btphystest.h @ 2816

Last change on this file since 2816 was 2816, checked in by lolbot, 6 years ago

fixed 542 files out of 2754:

  • removed 0 CR characters
  • removed 0 trailing whitespaces
  • replaced 0 tabs with spaces
  • fixed 542 svn:eol-style properties
  • Property svn:eol-style set to LF
File size: 1.0 KB
Line 
1//
2// BtPhysTest
3//
4// Copyright: (c) 2009-2013 Benjamin "Touky" 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    Light *                     m_light1;
26    Light *                     m_light2;
27    bool                        m_ready;
28
29    lol::phys::Simulation*      m_simulation;
30    Array<EasyConstraint*>      m_constraint_list;
31    Array<PhysicsObject*>       m_physobj_list;
32    Array<PhysicsObject*>       m_ground_list;
33    Array<PhysicsObject*>       m_platform_list;
34    Array<PhysicsObject*>       m_character_list;
35    Array<PhysicsObject*>       m_stairs_list;
36
37    float                       m_loop_value;
38};
39
40#endif // __BTPHYSTEST_H__
41
Note: See TracBrowser for help on using the repository browser.