#include <closedplayground.h>
Inherits Playground.
Inheritance diagram for ClosedPlayground:
Public Member Functions | |
ClosedPlayground (const OdeHandle &odeHandle, const OsgHandle &osgHandle, const osg::Vec3 &dimension=osg::Vec3(7.0, 0.2, 0.5), double factorxy=1) | |
Protected Member Functions | |
virtual void | create () |
overload this function to create the obstactle. All primitives should go into the list "obst" | |
virtual void | destroy () |
is called to destroy the object. The default implementation is to delete all primitives in "obst". | |
Protected Attributes | |
Box * | roof |
ClosedPlayground | ( | const OdeHandle & | odeHandle, | |
const OsgHandle & | osgHandle, | |||
const osg::Vec3 & | dimension = osg::Vec3(7.0, 0.2, 0.5) , |
|||
double | factorxy = 1 | |||
) | [inline] |
virtual void create | ( | ) | [inline, protected, virtual] |
overload this function to create the obstactle. All primitives should go into the list "obst"
Reimplemented from Playground.
virtual void destroy | ( | ) | [inline, protected, virtual] |
is called to destroy the object. The default implementation is to delete all primitives in "obst".
Reimplemented from AbstractObstacle.