00001 #include "objects_common.h" 00002 00003 00008 class Trigger : public Object { 00009 public: 00010 Trigger(Sint16 xcord=0, Sint16 ycord=0, const ParameterMap& param=ParameterMap()); 00011 virtual ~Trigger(); 00012 static ParameterMap default_parameters; 00013 virtual bool act(Object* obj); 00014 private: 00015 Object* target; 00016 string key; 00017 };