Permalink
Browse files

Merge pull request #12 from paullewis/master

Utility Methods by Paul Lewis: getAll(), removeAll()
  • Loading branch information...
2 parents ffe00ec + fbcf9ed commit 55a37640a9059356d26203e0ba97b54658f3a5a6 @sole sole committed Jun 18, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 src/Tween.js
View
@@ -30,6 +30,18 @@ var TWEEN = TWEEN || ( function () {
},
+ getAll: function() {
+
+ return tweens;
+
+ },
+
+ removeAll: function() {
+
+ tweens = [];
+
+ },
+
remove: function ( tween ) {
i = tweens.indexOf( tween );

0 comments on commit 55a3764

Please sign in to comment.