Panda3D
collisionHandlerPusher.I
1 // Filename: collisionHandlerPusher.I
2 // Created by: drose (16Mar02)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: CollisionHandlerPusher::set_horizontal
18 // Access: Public
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE void CollisionHandlerPusher::
22 set_horizontal(bool flag) {
23  _horizontal = flag;
24 }
25 
26 ////////////////////////////////////////////////////////////////////
27 // Function: CollisionHandlerPusher::get_horizontal
28 // Access: Public
29 // Description:
30 ////////////////////////////////////////////////////////////////////
31 INLINE bool CollisionHandlerPusher::
32 get_horizontal() const {
33  return _horizontal;
34 }