Corner
Interfaces
Section titled “Interfaces”Corner
Section titled “Corner”Defined in: packages/isaacscript-common/src/interfaces/Corner.ts:8
An interface representing a corner in the room.
This is used by the getRoomShapeCorners helper function.
Properties
Section titled “Properties”
readonlytype:CornerType
Defined in: packages/isaacscript-common/src/interfaces/Corner.ts:9
gridIndex
Section titled “gridIndex”
readonlygridIndex:int
Defined in: packages/isaacscript-common/src/interfaces/Corner.ts:12
The grid index of the corresponding wall tile.
position
Section titled “position”
readonlyposition:Readonly<Vector>
Defined in: packages/isaacscript-common/src/interfaces/Corner.ts:19
The position is not the same as the center of the corresponding grid index. Rather, it is the exact position of the corner, which will be offset from the grid index position by half of a grid tile.
