oo
Class OrientationHRB

java.lang.Object
  extended by oo.Orientation
      extended by oo.OrientationHRB
All Implemented Interfaces:
HasHLT, PRYable

 class OrientationHRB
extends Orientation

Singleton class for the HRB orientation.


Field Summary
(package private) static OrientationHRB singleton
          Singleton object of this class.
 
Fields inherited from class oo.Orientation
FLB, FRT, HLT, HRB
 
Method Summary
 Orientation pitch()
          Pitches the thing a half-turn (180 degrees).
 Orientation roll()
          Rolls the thing a half-turn (180 degrees).
 Orientation yaw()
          Yaws the thing a half-turn (180 degrees).
 
Methods inherited from class oo.Orientation
FLB, FRT, headRed, HLT, HRB, leftBlue, topGreen, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

singleton

static final OrientationHRB singleton
Singleton object of this class.

Method Detail

roll

public Orientation roll()
Description copied from interface: PRYable
Rolls the thing a half-turn (180 degrees).

Specified by:
roll in interface PRYable
Specified by:
roll in class Orientation
Returns:
The result of the roll.

pitch

public Orientation pitch()
Description copied from interface: PRYable
Pitches the thing a half-turn (180 degrees).

Specified by:
pitch in interface PRYable
Specified by:
pitch in class Orientation
Returns:
The result of the pitch.

yaw

public Orientation yaw()
Description copied from interface: PRYable
Yaws the thing a half-turn (180 degrees).

Specified by:
yaw in interface PRYable
Specified by:
yaw in class Orientation
Returns:
The result of the yaw.