Direction

Undocumented in source.

Constructors

this
this(int x, int y, int z)
Undocumented in source.
this
this(Vector3d v)
Undocumented in source.
this
this(Dir d)
Undocumented in source.

Members

Functions

set
void set(Dir d)

set by direction code

set
void set(Vector3d v)

set by vector

set
void set(int x, int y, int z)

set by vector

turnDown
void turnDown()
Undocumented in source. Be warned that the author may not have intended to support it.
turnLeft
void turnLeft()
Undocumented in source. Be warned that the author may not have intended to support it.
turnRight
void turnRight()
Undocumented in source. Be warned that the author may not have intended to support it.
turnUp
void turnUp()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

angle
float angle [@property getter]

returns Y axis rotation angle in degrees (0, 90, 180, 270)

Variables

dir
Dir dir;
Undocumented in source.
down
Vector3d down;
Undocumented in source.
forward
Vector3d forward;
Undocumented in source.
forwardDown
Vector3d forwardDown;
Undocumented in source.
forwardLeft
Vector3d forwardLeft;
Undocumented in source.
forwardLeftDown
Vector3d forwardLeftDown;
Undocumented in source.
forwardLeftUp
Vector3d forwardLeftUp;
Undocumented in source.
forwardRight
Vector3d forwardRight;
Undocumented in source.
forwardRightDown
Vector3d forwardRightDown;
Undocumented in source.
forwardRightUp
Vector3d forwardRightUp;
Undocumented in source.
forwardUp
Vector3d forwardUp;
Undocumented in source.
left
Vector3d left;
Undocumented in source.
right
Vector3d right;
Undocumented in source.
up
Vector3d up;
Undocumented in source.

Meta