Ejemplo n.º 1
0
        public Intersection_Grid(Spatial.Grids.Grid_Info Grid_Info)
        {
            this.grid_info = Grid_Info;

            grids = new Spatial_Hash_Grid[grid_info.groups];

            for (int u = 0; u < grid_info.groups; u++)
                grids[u] = new Spatial_Hash_Grid();

            neutral = grids[(int)Col_Slot.Neutral];
            player = grids[(int)Col_Slot.Player];
        }
Ejemplo n.º 2
0
        public Intersection_Grid(Spatial.Grids.Grid_Info Grid_Info)
        {
            this.grid_info = Grid_Info;

            grids = new Spatial_Hash_Grid[grid_info.groups];

            for (int u = 0; u < grid_info.groups; u++)
            {
                grids[u] = new Spatial_Hash_Grid();
            }

            neutral = grids[(int)Col_Slot.Neutral];
            player  = grids[(int)Col_Slot.Player];
        }