import { EventProxy } from '../../game/event-proxy'; import { PlayerPhysics } from '../../game/player-physics'; import { HitObject } from '../../physics/hit-object'; import { LineSegSlingshot } from '../../physics/line-seg-slingshot'; import { Table } from '../table/table'; import { Surface } from './surface'; import { SurfaceData } from './surface-data'; export declare class SurfaceHitGenerator { private readonly surface; private readonly data; lineSling: LineSegSlingshot[]; constructor(surface: Surface, data: SurfaceData); generateHitObjects(events: EventProxy, physics: PlayerPhysics, table: Table): HitObject[]; /** * Returns all hit objects for the surface. * @see Surface::CurvesToShapes */ private generate3DPolys; /** * Returns the hit line polygons for the surface. * @see Surface::AddLine */ private generateLinePolys; /** * Updates the hit object with parameters common to the surface. * @see Surface::SetupHitObject */ private updateCommonParameters; }