Class ColorMap

    • Constructor Detail

      • ColorMap

        public ColorMap()
        Reads in the color map file. // FIXME: Maybe it's not such a great idea that the server has just one // color map file, shared by all experiments.
    • Method Detail

      • getHex

        public String getHex​(String name,
                             boolean brighten)
        Parameters:
        name - "RED"
        brighten - If true, replace with a lighter color, so that it can be more suitable for use as a background.
        Returns:
        "FF00000"
      • hasColor

        public boolean hasColor​(Piece.Color color)