DevMat12
Hierarchy
↳ DevMat12
Index
Properties
Methods
Properties
Static
Readonly
centerX
▪ centerX: 797 = 797
Defined in id/position/devMat.ts:106
Static
Readonly
centerY
▪ centerY: 791 = 791
Defined in id/position/devMat.ts:107
Static
Readonly
maxX
▪ maxX: 949 = 949
Defined in id/position/devMat.ts:104
Static
Readonly
maxY
▪ maxY: 898 = 898
Defined in id/position/devMat.ts:105
Static
Readonly
minX
▪ minX: 645 = 645
Defined in id/position/devMat.ts:102
Static
Readonly
minY
▪ minY: 683 = 683
Defined in id/position/devMat.ts:103
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.