public void SetColorID(int colorID) { if (colorID > 0 && colorID < COLOR.Length) { this.colorID = colorID; } else // if we get a value that is not in our range make it white { this.colorID = DEFAULT_COLOR; } }