GroupPlacementHelper

Simplifies placement of a group within a There are two placement strategies supported.

  • NoneOverlapping:
  • With this strategy a group spawns do not overlap. E.g The first 2x2 Group will start at (0,0) and the second at (2,0) under the assumption the underlying source is big enough to hold two 2x2 groups in the x dimension.
  • Overlapping:
  • With this strategy the second group will start at (1,0)


    Field: groupDimX [int]

    ---


    Field: noneOverlapYGroupCount [int]

    ---


    Field: boundedShapeGridCellsX [int]

    ---


    Field: noneOverlapXGroupCount [int]

    ---


    Field: groupSize [int]

    ---


    Field: groupDimY [int]

    ---


    Field: boundedShapeGridCellsY [int]

    ---


    Field: groupPlacementCountX [int]

    ---


    Field: groupPlacementCountY [int]

    ---


    Field: validSpawnPointsForGroupInBound [Integer>]

    ---