ippa / jaws

Jaws - HTML5 canvas javascript 2D Game Framework
https://jawsjs.ippa.se
GNU Lesser General Public License v3.0
363 stars 75 forks source link

Rewrite SpriteList to use an internal sprites array #28

Closed dmitrizagidulin closed 12 years ago

dmitrizagidulin commented 12 years ago

ippa, Here's the SpriteList rewrite, plus some more tests to go with it.

Things to note:

This could stand to have a lot more jsdocs / function comments, but I wanted to first run this by you, before putting those in.

ippa commented 12 years ago

Excellent work!

ippa commented 12 years ago

I think we can refer ppl to mozillas Array docs for all the methods you've implemented instead of writing big explanations for each method.. I see you implemented a lot of them :)

dmitrizagidulin commented 12 years ago

Good call (re link people to docs) :)