more new transition architecture integration

This commit is contained in:
Eric Rowell
2012-04-02 22:54:05 -07:00
parent 77aea95e7a
commit d5834c8351
6 changed files with 254 additions and 399 deletions

View File

@@ -71,9 +71,9 @@ Kinetic.Stage.prototype = {
*/
onFrame: function(func) {
var go = Kinetic.GlobalObject;
go.animations.push({
id: go.animIdCounter++,
func: func
go.addAnimation({
id: go.animIdCounter++,
func: func
});
},
/**