(point: Point | Point[] | Creature | number, y = 0)
| 32 | } |
| 33 | |
| 34 | has(point: Point | Point[] | Creature | number, y = 0) { |
| 35 | const points = normalize(point, y, this.config); |
| 36 | for (const point of points) { |
| 37 | if (this.s.has(hash(point))) { |
| 38 | return true; |
| 39 | } |
| 40 | } |
| 41 | return false; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | export class PointFacade { |