getBlockRenderPosition method
Vector2
getBlockRenderPosition(
- Block block
inherited
Get the position in which a block is rendered in, in the isometric space.
This does not include the (x,y) PositionComponent offset!
This assumes the tile sprite as a rectangular tile.
This is the opposite of getBlockRenderedAt.
Implementation
Vector2 getBlockRenderPosition(Block block) {
return getBlockRenderPositionInts(block.x, block.y);
}