Phaser.Component.InCamera = function (){ } ; Phaser.Component.InCamera.prototype = { inCamera: { get: function (){ return this.game.world.camera.view.intersects(this._bounds); } } } ;