Example #1
0
    public bool CheckStrenght(StateColor color, StateColor other)
    {
        ColorRel rel = rels.Find(x => x.color == color);
        bool     r   = rel.strongWith.Contains(other);

        return(r);
    }
Example #2
0
    public Color RetrieveHex(StateColor color)
    {
        ColorRel rel = rels.Find(x => x.color == color);

        return(rel.colorHex);
    }