phaser - v3.90.0
    Preparing search index...

    Class SleepingFactory

    Index

    Constructors

    Methods

    • Given a set of colliding pairs, wakes the sleeping bodies involved.

      Parameters

      Returns void

      afterCollisions

    • Set a body as sleeping or awake.

      Parameters

      Returns void

      set

    • Puts bodies to sleep or wakes them up depending on their motion.

      Parameters

      Returns void

      update