Пример #1
0
        public static int ColonyPoints()
        {
            var colonists = Find.CurrentMap.mapPawns.FreeColonists;

            ColonyEvaluation.GetColonistArmouryPoints(colonists, Find.CurrentMap, out var colonistPoints, out var armouryPoints);
            return((int)(colonistPoints + armouryPoints));
        }
Пример #2
0
        public static int ColonyPoints()
        {
            var   colonists = Find.VisibleMap.mapPawns.FreeColonists;
            float colonistPoints;
            float armouryPoints;

            ColonyEvaluation.GetColonistArmouryPoints(colonists, Find.VisibleMap, out colonistPoints, out armouryPoints);
            return((int)(colonistPoints + armouryPoints));
        }
Пример #3
0
        public static int ColonyPoints()
        {
            if (Constants.DEBUG_COLONY_POINTS > 0)
            {
                return(Constants.DEBUG_COLONY_POINTS);
            }

            IEnumerable <Pawn> colonists = Find.VisibleMap.mapPawns.FreeColonists;
            float colonistPoints;
            float armouryPoints;

            ColonyEvaluation.GetColonistArmouryPoints(colonists, Find.VisibleMap, out colonistPoints, out armouryPoints);
            return((int)(colonistPoints + armouryPoints));
        }