SiliconGhetto Engine API
    Preparing search index...

    Function updateAI

    • Update all AI behaviors and get movement results to apply.

      Parameters

      • dt: number

        Delta time in seconds since last frame

      Returns AIResult[]

      Array of AI results with handle, dx, dy, and facing for each AI entity