initLayer method

void initLayer(
  1. Vector2 gameSize,
  2. Vector2 screenSize
)

Implementation

void initLayer(Vector2 gameSize, Vector2 screenSize) {
  if (gameSize.isZero()) return;
  _createQuadTree(gameSize, screenSize);
}