-converted remaining classes to GameObject
[supertux.git] / src / collision.cpp
index 2466d8c..5f08756 100644 (file)
@@ -263,6 +263,12 @@ bool isice(float x, float y)
   return tile && tile->ice;
 }
 
+bool isspike(float x, float y)
+{
+  Tile* tile = gettile(x,y);
+  return tile && tile->spike;
+}
+
 bool isfullbox(float x, float y)
 {
   Tile* tile = gettile(x,y);