#include <Door.h>
Inheritance diagram for Door:

Public Member Functions | |
| Door (List *info, int x, int y) | |
| void | draw () |
| void | update () |
| void | collide (Object *o) |
| void | load (List *info) |
| void | setLock (bool locked) |
| void | setOpen (bool open) |
Private Attributes | |
| Sprite * | _openSprite |
| Sprite * | _closedSprite |
| bool | _open |
| bool | _locked |
Definition at line 7 of file Door.h.
|
||||||||||||||||
|
Definition at line 4 of file Door.cpp. References Object::_type, DOOR, and load(). |
|
|
Reimplemented from Object. Definition at line 29 of file Door.cpp. References Object::_collidable, _locked, _open, Object::getType(), and PLAYER. |
|
|
Implements Object. Definition at line 37 of file Door.cpp. References Object::_box, _closedSprite, _open, _openSprite, and Sprite::draw(). |
|
|
Reimplemented from Object. Definition at line 11 of file Door.cpp. References _openSprite, List::empty(), List::firstList(), and Sprite::loadSprite(). Referenced by Door(). |
|
|
Definition at line 16 of file Door.h. References _locked. Referenced by SetDoorLockCommand::execute(). |
|
|
Definition at line 46 of file Door.cpp. References Object::_box, _closedSprite, Object::_collidable, _open, _openSprite, Sprite::height(), and Sprite::width(). |
|
|
Reimplemented from Object. |
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6-NO