A simple and flexible HTML5 and JavaScript powered game engine.
View Project on GitHub Download Pixel.js (v0.9b)
An abstract method with the purpose of drawing the asset to the Layer that the owning Entity exists on.
Name | Description |
---|---|
entity | The Entity that the asset being drawn should represent. |
No implementation is present for this method and must be implemented in classes which derive from Asset.
Google Chrome, Mozilla FireFox, Internet Explorer 9+, Opera, Safari.