protected Color getColor(EReplyCategory t) { switch (t) { case EReplyCategory.REPLY_CATEGORY_PARAGON_INTERRUPT: return(paraintColor); case EReplyCategory.REPLY_CATEGORY_RENEGADE_INTERRUPT: return(renintColor); case EReplyCategory.REPLY_CATEGORY_AGREE: return(agreeColor); case EReplyCategory.REPLY_CATEGORY_DISAGREE: return(disagreeColor); case EReplyCategory.REPLY_CATEGORY_FRIENDLY: return(friendlyColor); case EReplyCategory.REPLY_CATEGORY_HOSTILE: return(hostileColor); default: return(Color.Black); } }
protected Color getColor(EReplyCategory t) => t switch {