world.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2008 Jakub Filak <xfilak01@stud.fit.vutbr.cz>
00003  *
00004  * This file is part of rob08
00005  *
00006  * rob08 is free software: you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation, either version 3 of the License, or
00009  * any later version.
00010  *
00011  * rob08 is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with rob08.  If not, see <http://www.gnu.org/licenses/>.
00018  */
00019 
00020 #ifndef __WORLD_H__
00021 #define __WORLD_H__
00022 
00023 #include "geometry.h"
00024 
00025 class IEnviroment;
00026 class PhysicsEngine;
00027 class IMovingObject;
00028 
00032 class World 
00033 {
00034   public:
00039     World( );
00040 
00044     IEnviroment& Enviroment() const;
00045 
00049     PhysicsEngine& Engine() const;
00050 
00054     double TimeToCollision( IMovingObject& obj ) const;
00055 
00056     bool CollisionPoint( IMovingObject& obj, Point& result, double& time ) const;
00057   
00058     ~World();
00059   private:
00060     World( const World& );
00061     World& operator=( const World& );
00062 
00063     struct Members;
00064     Members* pimpl;
00065 };
00066 
00067 #endif
00068 

Generated on Fri Jul 10 22:42:01 2009 for rob08 by  doxygen 1.5.4