road0001 / tweener

Automatically exported from code.google.com/p/tweener
0 stars 0 forks source link

addTween should return index instead of Boolean #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is probably more a suggestion than anything. Shouldn't addTween return
a index? That way it's easier to call method for specific tween. Like for
instance remove a specific tween with removeTweenByIndex.

Thanks!

Original issue reported on code.google.com by amend...@gmail.com on 12 Feb 2008 at 9:47

GoogleCodeExporter commented 8 years ago
Thanks for the suggestion. Right now, it can't return an index because the 
tween list
indexes change from time to time (as such, removeTweenByIndex is an "internal" 
method).

However, I'm doing some internal changes and in the near future it will return 
proper
tween *instances* that can be referenced and changed as necessary.

Original comment by zisfor...@gmail.com on 12 Feb 2008 at 11:56