DevMat05
Hierarchy
↳ DevMat05
Index
Properties
Methods
Properties
Static
Readonly
centerX
▪ centerX: 492 = 492
Defined in id/position/devMat.ts:43
Static
Readonly
centerY
▪ centerY: 143 = 143
Defined in id/position/devMat.ts:44
Static
Readonly
maxX
▪ maxX: 644 = 644
Defined in id/position/devMat.ts:41
Static
Readonly
maxY
▪ maxY: 250 = 250
Defined in id/position/devMat.ts:42
Static
Readonly
minX
▪ minX: 340 = 340
Defined in id/position/devMat.ts:39
Static
Readonly
minY
▪ minY: 35 = 35
Defined in id/position/devMat.ts:40
Methods
Static
isOnMat
▸ isOnMat(x
: number | undefined, y
: number | undefined): boolean
Defined in id/position/mat.ts:17
Specified coordinate is on the mat or not.
Parameters:
Name | Type | Description |
---|---|---|
x | number | undefined | X coordinate of checking target point. |
y | number | undefined | Y coordinate of checking target point. |
Returns: boolean
true iff specified (x, y) is on this mat.