Damn you for making sense, ES6!

This commit is contained in:
MeowcaTheoRange 2022-08-09 14:34:27 -05:00 committed by GitHub
parent 4b0a68c11b
commit d43a9e977c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`