JME - Application Documentation
    Preparing search index...

    UK-style traffic signal controller. Cycles through approaches using RED → RED_AMBER → GREEN → AMBER → ALL_RED.

    Index

    Constructors

    Properties

    id: string

    Methods

    • Optional helper: if you want vehicles to be allowed on AMBER (some sims do), keep using isGreen() for strict behaviour. If you want "treat AMBER as proceed if already close", handle that in VehicleManager.

      Parameters

      • laneKey: string

        string key identifying a specific lane

      Returns boolean

      true if the entry is permitted