C:/Documents and Settings/mtauraso/Desktop/proj3/projectX/Door.h

Go to the documentation of this file.
00001 #ifndef DOOR_H
00002 #define DOOR_H
00003 
00004 #include "Object.h"
00005 #include "Sprite.h"
00006 
00007 class Door : public Object {
00008 public:
00009         Door(List* info, int x, int y);
00010 
00011         void draw();
00012         void update(){;}
00013         void collide( Object* o );
00014         void Door::load(List *info);
00015 
00016         void setLock(bool locked) {_locked = locked;}
00017         void setOpen(bool open);
00018 private:
00019         Sprite *_openSprite;
00020         Sprite *_closedSprite;
00021 
00022         bool _open;
00023         bool _locked;
00024 };
00025 
00026 #endif

Generated on Sat Apr 22 15:05:20 2006 for ProjectX by  doxygen 1.4.6-NO