//  (c) 2010 Thomas A. Alspaugh.  All rights reserved.
package oo;


/**
  Something that has
  a red end at the head or foot,
  a blue side at the left or right,
  and a green surface at the top or bottom.
*/
public interface HasHLT {

  /**
    A string representing the orientation,
    matching [HF][LR][TB].&nbsp;
    The string contains
    H if headRed() and F otherwise;
    L if leftBlue() and R otherwise; and
    T if topGreen() and B otherwise.
  */
  public String toString();

  /**
    True iff the red end is at the top.
  */
  public boolean headRed();

  /**
    True iff the blue side is at the left.
  */
  public boolean leftBlue();

  /**
    True iff the green surface is on the top.
  */
  public boolean topGreen();

}
