animate-example 0.1.0 → 0.2.0
raw patch · 4 files changed
+4/−4 lines, 4 files
Files
- Main.hs +1/−1
- animate-example.cabal +1/−1
- package.yaml +1/−1
- stack.yaml +1/−1
Main.hs view
@@ -72,7 +72,7 @@ frameDeltaSeconds = 0.016667 frameDeltaMilliseconds = 16 -rectFromClip :: Animate.SpriteClip -> SDL.Rectangle CInt+rectFromClip :: Animate.SpriteClip key -> SDL.Rectangle CInt rectFromClip Animate.SpriteClip{scX,scY,scW,scH} = SDL.Rectangle (SDL.P (V2 (num scX) (num scY))) (V2 (num scW) (num scH)) where num = fromIntegral
animate-example.cabal view
@@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: animate-example-version: 0.1.0+version: 0.2.0 synopsis: Animation for sprites description: Prototypical sprite animation with type-safety. category: Game
package.yaml view
@@ -1,5 +1,5 @@ name: animate-example-version: '0.1.0'+version: '0.2.0' category: Game synopsis: Animation for sprites description: Prototypical sprite animation with type-safety.
stack.yaml view
@@ -3,6 +3,6 @@ - '.' - '..' extra-deps:-- 'animate-0.5.0'+- 'animate-0.6.0' flags: {} extra-package-dbs: []