示例#1
0
    private void RegisterLowNeed(ENeedType needType)
    {
        int newNeedPriority = NeedsToolkit.GetNeedPriority(needType);
        int newIndex        = GetNewIndexInListBasedOnPriority(newNeedPriority);

        m_lowNeedsSortedLowToHigh.Insert(newIndex, needType);
    }
示例#2
0
    private bool IsNeedLowerInPriority(ENeedType needType, int priorityToCheckAgainst)
    {
        int currentNeedPriority = NeedsToolkit.GetNeedPriority(needType);

        return(currentNeedPriority < priorityToCheckAgainst);
    }