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