Pixeljs

A simple and flexible HTML5 and JavaScript powered game engine.

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

Entity.draw Method

Calls the draw method of the assigned Asset.

Remarks

The draw method shouldn't need to be called manually as it is automatically called for all registered entities.

Supported Platforms

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