UNPKG

pixelbox

Version:

A framework to fast-prototype pixel-based games

10 lines 226 B
module.exports = function inherits(Child, Parent) { Child.prototype = Object.create(Parent.prototype, { constructor: { value: Child, enumerable: false, writable: true, configurable: true } }); };