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 void load(List *info); 00020 private: 00021 bool _hasSprite; 00022 bool _collideEvent; 00023 bool _active; 00024 00025 List *_collideList; 00026 00027 Sprite *_sprite; 00028 }; 00029 00030 #endif