UNPKG

@smoud/tiny

Version:

Fast and tiny JavaScript library for HTML5 game and playable ads creation.

12 lines (8 loc) 304 B
import { Light } from './Light'; var AmbientLight = function (color, intensity) { Light.call(this, color, intensity); this.isAmbientLight = true; }; AmbientLight.prototype = Object.create(Light.prototype); AmbientLight.prototype.constructor = AmbientLight; export { AmbientLight };