Exemplo n.º 1
0
        /// <summary>
        /// Notifies this instance that the sapience level changes.
        /// </summary>
        public void NotifySapienceLevelChanges()
        {
            SapienceLevel?saLabel = pawn?.GetQuantizedSapienceLevel();

            _labelCached = saLabel?.GetLabel() ?? "unknown";
        }
Exemplo n.º 2
0
 private void SetLabel(SapienceLevel level)
 {
     _labelCached = level.GetLabel();
 }