Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

View Project on GitHub Download Pixel.js (v0.9b)

PixelJS.extend Method

Copies the prototype of one class to another.

Parameters

Name Description
childClass The class to copy the prototype to.
parentClass The class to copy the prototype from.

Examples

Supported Platforms

Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.