CTFTNKS Project Documentation - v1.3.0
    Preparing search index...

    Fog of War Effect implementation as an Updatable item managed by the game.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    age: number = 0

    time (in milliseconds) for how long the object already exists in the game

    ambientLight: number = 1
    canvas: HTMLCanvasElement
    ctx: CanvasRenderingContext2D
    duration: number = 10000
    game: Game
    maxAge?: number

    optional duration in milliseconds for how long the object should still exist in the game

    Methods