(x: number, y: number, walkable: boolean = true, cost: number = 1)
| 28 | walkable: boolean; |
| 29 | |
| 30 | constructor(x: number, y: number, walkable: boolean = true, cost: number = 1) { |
| 31 | this.x = x; |
| 32 | this.y = y; |
| 33 | this.id = `${x},${y}`; |
| 34 | this.position = createPoint(x, y); |
| 35 | this.walkable = walkable; |
| 36 | this.cost = cost; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | // ============================================================================= |
nothing calls this directly
no test coverage detected