Public Member Functions | |
virtual void | close (void) |
virtual void | controlStep (double dt) |
virtual void | open (void) |
SlidingDoor (const Point &closedPos, const Point &openedPos, const Point &size, double height, double moveDuration) | |
Protected Types | |
enum | Mode { MODE_CLOSED, MODE_OPENING, MODE_OPENED, MODE_CLOSING } |
Protected Attributes | |
Point | closedPos |
enum Enki::SlidingDoor::Mode | mode |
double | moveDuration |
double | moveTimeLeft |
Point | openedPos |
Definition at line 373 of file playground.cpp.
enum Enki::SlidingDoor::Mode [protected] |
Definition at line 379 of file playground.cpp.
Enki::SlidingDoor::SlidingDoor | ( | const Point & | closedPos, | |
const Point & | openedPos, | |||
const Point & | size, | |||
double | height, | |||
double | moveDuration | |||
) | [inline] |
Definition at line 389 of file playground.cpp.
virtual void Enki::SlidingDoor::close | ( | void | ) | [inline, virtual] |
Implements Enki::Door.
Definition at line 449 of file playground.cpp.
virtual void Enki::SlidingDoor::controlStep | ( | double | dt | ) | [inline, virtual] |
Definition at line 399 of file playground.cpp.
virtual void Enki::SlidingDoor::open | ( | void | ) | [inline, virtual] |
Implements Enki::Door.
Definition at line 435 of file playground.cpp.
Point Enki::SlidingDoor::closedPos [protected] |
Definition at line 376 of file playground.cpp.
enum Enki::SlidingDoor::Mode Enki::SlidingDoor::mode [protected] |
double Enki::SlidingDoor::moveDuration [protected] |
Definition at line 378 of file playground.cpp.
double Enki::SlidingDoor::moveTimeLeft [protected] |
Definition at line 386 of file playground.cpp.
Point Enki::SlidingDoor::openedPos [protected] |
Definition at line 377 of file playground.cpp.