getBlockRenderPositionInts method

Vector2 getBlockRenderPositionInts(
  1. int i,
  2. int j
)

Same as getBlockRenderPosition but the arguments are exploded as integers.

Implementation

Vector2 getBlockRenderPositionInts(int i, int j) {
  final halfTile = effectiveTileSize / 2;
  final pos = Vector2(i.toDouble(), j.toDouble())..multiply(halfTile);
  return cartToIso(pos) - halfTile;
}