DevMat03
Hierarchy
↳ DevMat03
Index
Properties
Methods
Properties
Static Readonly centerX
▪ centerX: 187 = 187
Defined in id/position/devMat.ts:25
Static Readonly centerY
▪ centerY: 575 = 575
Defined in id/position/devMat.ts:26
Static Readonly maxX
▪ maxX: 339 = 339
Defined in id/position/devMat.ts:23
Static Readonly maxY
▪ maxY: 682 = 682
Defined in id/position/devMat.ts:24
Static Readonly minX
▪ minX: 34 = 34
Defined in id/position/devMat.ts:21
Static Readonly minY
▪ minY: 467 = 467
Defined in id/position/devMat.ts:22
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.