00001 /*************************************************************************** 00002 GeometryCollider.h - description 00003 ------------------- 00004 begin : dim fév 29 2004 00005 copyright : (C) 2004 by Michel Dubois, Yann Le Guyadec 00006 email : Michel.Dubois@univ-ubs.fr, Yann.Le-Guyadec@univ-ubs.fr 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef __SIM_GEOMETRYCOLLISIONCONTROLLER_H__ 00019 #define __SIM_GEOMETRYCOLLISIONCONTROLLER_H__ 00020 00021 #include "CollisionController.h" 00027 class Geometry; 00028 class Surface; 00029 00030 class GeometryCollider : public CollisionController 00031 { 00032 public: 00033 GeometryCollider (); 00034 virtual ~GeometryCollider (); 00035 00036 public: 00037 Surface* getSurface (); 00038 00039 void setSurface (Surface* surface); 00040 00041 public: 00042 // virtual void handleCollision (Geometry* geometry, Collision& collision); 00043 00044 protected: 00045 Surface* surface; 00046 }; 00047 00048 #endif