Refactoring drawTiles on HTML5 backend to use count flag.
Merge pull request #242 from bendmorris/drawtiles

Refactoring drawTiles on HTML5 backend to use count flag as in native/lime