mirror of
https://github.com/photonstorm/phaser
synced 2025-01-12 05:08:54 +00:00
18 lines
420 B
JavaScript
18 lines
420 B
JavaScript
|
/**
|
||
|
* @author Richard Davey <rich@photonstorm.com>
|
||
|
* @copyright 2018 Photon Storm Ltd.
|
||
|
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
|
||
|
*/
|
||
|
|
||
|
var AdInstance = function (instance, video)
|
||
|
{
|
||
|
return {
|
||
|
instance: instance,
|
||
|
placementID: instance.getPlacementID(),
|
||
|
shown: false,
|
||
|
video: video
|
||
|
};
|
||
|
};
|
||
|
|
||
|
module.exports = AdInstance;
|