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 | |
---|
11 | class BtPhysTest : public WorldEntity |
---|
12 | { |
---|
13 | public: |
---|
14 | BtPhysTest(bool editor = false); |
---|
15 | virtual ~BtPhysTest(); |
---|
16 | |
---|
17 | char const *GetName() { return "<BtPhysTest>"; } |
---|
18 | |
---|
19 | protected: |
---|
20 | virtual void TickGame(float seconds); |
---|
21 | virtual void TickDraw(float seconds); |
---|
22 | |
---|
23 | private: |
---|
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.