- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

# C:/Documents and Settings/jegan/Desktop/projectX/CollisionHandler.h

Go to the documentation of this file.

    00001 #ifndef COLLISION_HANDLER_H
    00002 #define COLLISION_HANDLER_H
    00003
    00004
    00005 #include <vector>
    00006
    00007 class Object;
    00008 class Level;
    00009
    00010 class CollisionHandler
    00011 {
    00012
    00013 public:
    00014         static CollisionHandler* instance();
    00015         bool checkCollision( Object* o );
    00016         static std::vector<Object*> CollisionHandler::ObjsColliding( Object *o ,  bool solidonly = false);
    00017
    00018 private:
    00019         CollisionHandler();
    00020
    00021         static CollisionHandler* _instance;
    00022
    00023         Level* _currentLevel;
    00024 };
    00025
    00026 #endif