Class EnzymeAbstract

Abstract base class for all DNA replication enzymes.

Hierarchy (view full)

Constructors

Properties

isActive: boolean = true

Whether enzyme is currently active

position: number

Current position of the enzyme (0-based)

Type of enzyme

Methods

  • Advances the enzyme by the specified distance.

    Parameters

    • distance: number

      Distance to advance in base pairs

    Returns number

    New position

  • Checks if this enzyme can operate at the given position.

    Parameters

    • position: number

      Position to check

    Returns boolean

    True if enzyme can operate at this position