addEntityToPartition method
Adds an entity to a specific partition.
Implementation
CellSpacePartitioning addEntityToPartition(GameEntity entity, int index ) {
final cell = cells[ index ];
cell.add( entity );
return this;
}
Adds an entity to a specific partition.
CellSpacePartitioning addEntityToPartition(GameEntity entity, int index ) {
final cell = cells[ index ];
cell.add( entity );
return this;
}