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 372 of file playground.cpp.
enum Enki::SlidingDoor::Mode [protected] |
Definition at line 378 of file playground.cpp.
Enki::SlidingDoor::SlidingDoor | ( | const Point & | closedPos, |
const Point & | openedPos, | ||
const Point & | size, | ||
double | height, | ||
double | moveDuration | ||
) | [inline] |
Definition at line 388 of file playground.cpp.
virtual void Enki::SlidingDoor::close | ( | void | ) | [inline, virtual] |
Implements Enki::Door.
Definition at line 448 of file playground.cpp.
virtual void Enki::SlidingDoor::controlStep | ( | double | dt | ) | [inline, virtual] |
Definition at line 398 of file playground.cpp.
virtual void Enki::SlidingDoor::open | ( | void | ) | [inline, virtual] |
Implements Enki::Door.
Definition at line 434 of file playground.cpp.
Point Enki::SlidingDoor::closedPos [protected] |
Definition at line 375 of file playground.cpp.
enum Enki::SlidingDoor::Mode Enki::SlidingDoor::mode [protected] |
double Enki::SlidingDoor::moveDuration [protected] |
Definition at line 377 of file playground.cpp.
double Enki::SlidingDoor::moveTimeLeft [protected] |
Definition at line 385 of file playground.cpp.
Point Enki::SlidingDoor::openedPos [protected] |
Definition at line 376 of file playground.cpp.