
Untitled
By: a guest on
Jun 14th, 2012 | syntax:
JavaScript | size: 0.21 KB | hits: 18 | expires: Never
draw: function() {
// Draw all entities and BackgroundMaps
this.parent();
for (x = 0; x <= 40; x++) {
for (y = 0; y <= 40; y++) {
this.img.drawTile(x*16,y*16,this.frames[x%8],16);
}
}
}