Sprite rendering

This commit is contained in:
Oleg Sobolev 2026-03-28 18:38:00 +03:00
parent 53d0a5aaf0
commit a87fe00b52
6 changed files with 181 additions and 11 deletions

View file

@ -58,7 +58,7 @@ library
import: warnings
-- Modules exported by the library.
exposed-modules: MyLib
exposed-modules: SnakeLib
-- Modules included in this library but not exported.
-- other-modules:
@ -67,7 +67,9 @@ library
-- other-extensions:
-- Other library packages from which modules are imported.
build-depends: base ^>=4.20.2.0
build-depends:
base ^>=4.20.2.0,
array
-- Directories containing source files.
hs-source-dirs: src
@ -83,7 +85,8 @@ executable snake-hs
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
other-modules:
Graphics
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
@ -91,7 +94,11 @@ executable snake-hs
-- Other library packages from which modules are imported.
build-depends:
base ^>=4.20.2.0,
snake-hs
snake-hs,
text,
array,
sdl2,
sdl2-image
-- Directories containing source files.
hs-source-dirs: app