import { Point } from './Point' export class Point_Pool { points constructor() { this.points = new Array() } Add_point(point_Class: Point) { this.points.push(point_Class) } Enable_All(visible: boolean) { for (let i = 0, item; (item = this.points[i++]); ) { if (item.plane) { item.plane.isVisible = visible } } } }