#include "type.h"
class Tile;
-class World;
/* Collision objects */
enum
CO_BULLET,
CO_BADGUY,
CO_PLAYER,
- CO_TRAMPOLINE
+ CO_TRAMPOLINE,
+ CO_FLYING_PLATFORM
};
enum CollisionType {
bool issolid(float x, float y);
bool isbrick(float x, float y);
bool isice(float x, float y);
+bool isspike(float x, float y);
bool isfullbox(float x, float y);
typedef void* (*tiletestfunction)(Tile* tile);