sesaparcours
    Preparing search index...

    Fake class which should be extended to avoid inheriting static properties

    Hierarchy (View Summary)

    Index

    Constructors

    • Database of connections. Connections are stored in order of their vertical component. This way connections in an area may be looked up quickly using a binary search.

      Parameters

      • checker: IConnectionChecker

        The workspace's connection type checker, used to decide if connections are valid during a drag.

      Returns Blockly.ConnectionDB

    Methods

    • Add a connection to the database. Should not already exist in the database.

      Parameters

      • connection: Blockly.RenderedConnection

        The connection to be added.

      • yPos: number

        The y position used to decide where to insert the connection.

      Returns void

    • Remove a connection from the database. Must already exist in DB.

      Parameters

      • connection: Blockly.RenderedConnection

        The connection to be removed.

      • yPos: number

        The y position used to find the index of the connection.

      Returns void

      If the connection cannot be found in the database.