@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
29 lines • 727 B
TypeScript
export class FogOfWarVisibilityPredicate {
/**
*
* @type {FogOfWar}
*/
fow: FogOfWar;
/**
* Distance that the point is allowed to be away from the clear region to pass the test
* @type {number}
*/
maxClearance: number;
/**
*
* @param {Camera} camera
* @param {EntityComponentDataset} ecd
*/
initialize(camera: Camera, ecd: EntityComponentDataset): void;
/**
*
* @param {number} x
* @param {number} y
* @param {number} z
* @returns {boolean}
*/
test(x: number, y: number, z: number): boolean;
finalize(): void;
}
import { FogOfWar } from "./FogOfWar.js";
//# sourceMappingURL=FogOfWarVisibilityPredicate.d.ts.map