Mat
Hierarchy
Mat
↳ TileMat
↳ RingMat
↳ DevMat01
↳ DevMat02
↳ DevMat03
↳ DevMat04
↳ DevMat05
↳ DevMat06
↳ DevMat07
↳ DevMat08
↳ DevMat09
↳ DevMat10
↳ DevMat11
↳ DevMat12
Index
Properties
Methods
Properties
Static
Protected
centerX
▪ centerX: number
Defined in id/position/mat.ts:6
Static
Protected
centerY
▪ centerY: number
Defined in id/position/mat.ts:7
Static
Protected
maxX
▪ maxX: number
Defined in id/position/mat.ts:4
Static
Protected
maxY
▪ maxY: number
Defined in id/position/mat.ts:5
Static
Protected
minX
▪ minX: number
Defined in id/position/mat.ts:2
Static
Protected
minY
▪ minY: number
Defined in id/position/mat.ts:3
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.