00001 /* 00002 * Copyright (c) 2013 University of Jaume-I. 00003 * All rights reserved. This program and the accompanying materials 00004 * are made available under the terms of the GNU Public License v3.0 00005 * which accompanies this distribution, and is available at 00006 * http://www.gnu.org/licenses/gpl.html 00007 * 00008 * Contributors: 00009 * Mario Prats 00010 * Javier Perez 00011 */ 00012 00013 #ifndef PHYSICSBUILDER_H 00014 #define PHYSICSBUILDER_H 00015 00016 #include "SceneBuilder.h" 00017 #include "BulletPhysics.h" 00018 #include "ConfigXMLParser.h" 00019 00020 class PhysicsBuilder 00021 { 00022 public: 00023 osg::ref_ptr<BulletPhysics> physics; 00024 public: 00025 00026 PhysicsBuilder(SceneBuilder * scene_builder, ConfigFile config); 00027 PhysicsBuilder() 00028 { 00029 } 00030 void loadPhysics(SceneBuilder * scene_builder, ConfigFile config); 00031 00032 }; 00033 00034 #endif