예제 #1
0
        private static ulong GetBattlePoints(MyObjectBuilder_CubeGrid[] grids)
        {
            ulong pts = 0;

            foreach (var grid in grids)
            {
                pts += MyCubeGrid.GetBattlePoints(grid);
            }

            return(pts);
        }