packages feed

ansi-terminal-game 0.7.0.0 → 0.7.1.0

raw patch · 3 files changed

+11/−5 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Terminal.Game: creaAnimation :: Loop -> [(Integer, Plane)] -> Animation
+ Terminal.Game: creaAnimation :: [(Integer, Plane)] -> Animation
- Terminal.Game: creaLoopAnimation :: Loop -> [(Integer, Plane)] -> Animation
+ Terminal.Game: creaLoopAnimation :: [(Integer, Plane)] -> Animation

Files

ansi-terminal-game.cabal view
@@ -1,5 +1,5 @@ name:                ansi-terminal-game-version:             0.7.0.0+version:             0.7.1.0 synopsis:            sdl-like functions for terminal applications, based on                      ansi-terminal description:         Library which aims to replicate standard 2d game
changes.txt view
@@ -1,3 +1,9 @@+0.7.1.0+-------++- Fixed 0.7.0.0 (deprecated) interface.+- Released Fri 22 Nov 2019 14:51:40 CET+ 0.7.0.0 ------- 
src/Terminal/Game/Animation.hs view
@@ -25,12 +25,12 @@ type Animation = T.Timed Plane  -- | Creates an 'Animation'.-creaAnimation :: Loop -> [(Integer, Plane)] -> Animation-creaAnimation = creaTimedRes+creaAnimation :: [(Integer, Plane)] -> Animation+creaAnimation ips = creaTimedRes (Times 1 Elapse) ips  -- | Creates a looped 'Animation'.-creaLoopAnimation :: Loop -> [(Integer, Plane)] -> Animation-creaLoopAnimation = creaTimedRes+creaLoopAnimation :: [(Integer, Plane)] -> Animation+creaLoopAnimation ips = creaTimedRes AlwaysLoop ips  -- | Wraps a 'Plane' into an 'Animation'. creaStaticAnimation :: Plane -> Animation