Mr. Bomb now supports custom sprites.
[supertux.git] / src / collision_hit.hpp
index e3ae280..b9ed4d5 100644 (file)
@@ -1,7 +1,7 @@
-//  $Id: collision_hit.h 2177 2004-11-24 23:10:09Z matzebraun $
+//  $Id$
 //
-//  SuperTux -  A Jump'n Run
-//  Copyright (C) 2004 Matthias Braun <matze@braunis.de
+//  SuperTux
+//  Copyright (C) 2006 Matthias Braun <matze@braunis.de>
 //
 //  This program is free software; you can redistribute it and/or
 //  modify it under the terms of the GNU General Public License
@@ -33,7 +33,9 @@ enum HitResponse
   /// if this happens to often then the move will just be aborted    
   CONTINUE,
   /// do the move ignoring the collision
-  FORCE_MOVE
+  FORCE_MOVE,
+  /// passes movement to collided object
+  PASS_MOVEMENT
 };
 
 /**
@@ -50,12 +52,5 @@ public:
   Vector normal;
 };
 
-class TilemapCollisionHit : public CollisionHit
-{
-public:
-  /// the flags of all tiles tux collided with
-  int tileflags;
-};
-
 #endif