예제 #1
0
 public SparseMap3D(int sectorWidth, int sectorHeight, int sectorDepth, OnSectorCreated onSectorCreated = null)
 {
     _sectorWidth     = sectorWidth;
     _sectorHeight    = sectorHeight;
     _sectorDepth     = sectorDepth;
     _onSectorCreated = onSectorCreated;
 }
예제 #2
0
 public SparseMap4D(int sectorWidth, int sectorHeight, int sectorDepth, int sectorFourthDimension, OnSectorCreated onSectorCreated = null)
 {
     _sectorWidth           = sectorWidth;
     _sectorHeight          = sectorHeight;
     _sectorDepth           = sectorDepth;
     _sectorFourthDimension = sectorFourthDimension;
     _onSectorCreated       = onSectorCreated;
 }