- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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

Go to the documentation of this file.

    00001 #ifndef EVENTPOINT_H
    00002 #define EVENTPOINT_H
    00003
    00004 #include "Object.h"
    00005 #include "Sprite.h"
    00006
    00007 class List;
    00008
    00009 class EventPoint : public Object
    00010 {
    00011 public:
    00012         EventPoint(List* info, int x, int y);
    00013         ~EventPoint();
    00014         void draw();
    00015         void update() {;}
    00016         void collide( Object* o );
    00017         void findAndReplace(std::string find, std::string replace);
    00018
    00019         virtual Object *copy();
    00020
    00021         void load(List *info, bool fromConstructor = true);
    00022 private:
    00023         bool _hasSprite;
    00024         bool _collideEvent;
    00025         bool _active;
    00026
    00027         List *_collideList;
    00028
    00029         Sprite *_sprite;
    00030 };
    00031
    00032 #endif