Пример #1
0
    /// <summary>
    /// Setter for the color
    /// </summary>
    /// <param name="theColor"></param>
    public void SetColor(Color theColor)
    {
        itsDataMapIcon.itsColor = theColor;

        // update KGFMinimap module
        if (itsMapSystem == null)
        {
            itsMapSystem = KGFAccessor.GetObject <KGFMapSystem>();
        }
        if (itsMapSystem != null)
        {
            itsMapSystem.UpdateIcon(this);
        }
    }