Esempio n. 1
0
        public bool EmptyOf(HashSet <int> types)
        {
            foreach (int type in types)
            {
                if (resources.HasType(type) && resourceFlowStates[type] != 0 && resources[type] > SimManager.RESOURCE_PART_EMPTY_THRESH)
                {
                    return(false);
                }
            }

            return(true);
        }