mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-11 16:12:20 +00:00
Use V2 instead of tuples and rename 'sceneAnimation' to 'scene'. (#165)
This commit is contained in:
parent
ff880e7296
commit
d37e71ca94
68 changed files with 140 additions and 214 deletions
|
|
@ -6,6 +6,6 @@ import Reanimate
|
|||
import Reanimate.Builtin.Documentation
|
||||
|
||||
main :: IO ()
|
||||
main = reanimate $ docEnv $ sceneAnimation $ do
|
||||
main = reanimate $ docEnv $ scene $ do
|
||||
s <- fork $ newSpriteA drawCircle
|
||||
spriteTween s 1 $ \val -> translate (screenWidth*0.3*val) 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue