diff --git a/README.md b/README.md index 7983f4c..806d744 100644 --- a/README.md +++ b/README.md @@ -90,21 +90,21 @@ twnlib.tween(bean.pos, [ "x" ], { from: 0, to: width() - 64, time: 3.2, - type: tweentypes.PINGPONG + type: twnlib.tweentypes.PINGPONG }); twnlib.tween(bean.pos, [ "y" ], { from: 0, to: height() - 64, time: 2, - type: tweentypes.PINGPONG + type: twnlib.tweentypes.PINGPONG }); twnlib.tween(bean.color, [ "g", "r" ], { from: 255, to: 0, time: 0.25, - type: tweentypes.PINGPONG + type: twnlib.tweentypes.PINGPONG }); ``` `JSTween.js`