Skip to content

Commit 25106b2

Browse files
committed
GTween: docs referred to setProperty and setProperties instead of setValue and setValues
1 parent 4aac501 commit 25106b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/gskinner/motion/GTween.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -767,14 +767,14 @@ class GTween #if (flash || openfl) extends EventDispatcher #end
767767
}
768768

769769
/**
770-
Shorthand method for making multiple setProperty calls quickly.
770+
Shorthand method for making multiple setValue calls quickly.
771771
This adds the specified properties to the values list. Passing a
772772
property with a value of null will delete that value from the list.
773773
774774
**Example:** set x and y end values, delete rotation:
775775
776776
```haxe
777-
myGTween.setProperties({x:200, y:400, rotation:null});
777+
myGTween.setValues({x:200, y:400, rotation:null});
778778
```
779779
780780
@param properties An object containing end property values.

0 commit comments

Comments
 (0)