Component.Overlap

Class: Phaser.Component.Overlap

Constructor

new Overlap()

The Overlap component allows a Game Object to check if it overlaps with the bounds of another Game Object.

Source code: gameobjects/components/Overlap.js (Line 12)

Public Methods

overlap(displayObject) → {boolean}

Checks to see if the