BOOM commit birthing animation done and animation factory fleshed out

This commit is contained in:
Peter Cottle 2012-09-29 19:08:13 -07:00
parent bc4b9246eb
commit 23ee6944e2
6 changed files with 106 additions and 20 deletions

View file

@ -81,12 +81,12 @@ GitVisuals.prototype.toScreenCoords = function(pos) {
**************************************/
GitVisuals.prototype.refreshTree = function() {
GitVisuals.prototype.refreshTree = function(speed) {
// this method can only be called after graphics are rendered
this.calcTreeCoords();
this.calcGraphicsCoords();
this.animateAll();
this.animateAll(speed);
};
GitVisuals.prototype.refreshTreeHarsh = function() {