import { Matrix2D } from '../../math/matrix2d'; import { Vertex3D } from '../../math/vertex3d'; import { Pool } from '../../util/object-pool'; import { ItemState } from '../item-state'; /** * The dynamic ball state. * * This is the data we need to properly position the ball on the playfield. */ export declare class BallState extends ItemState { static readonly POOL: Pool; pos: Vertex3D; orientation: Matrix2D; isFrozen: boolean; constructor(); static claim(name: string, pos: Vertex3D): BallState; clone(): BallState; diff(state: BallState): BallState; release(): void; equals(state: BallState): boolean; }