blob: c51ddc8c7620314dbcd0ba69720ad41f40f3e230 (
plain)
1
2
3
4
5
6
7
8
9
10
|
module Main where
import Game (initialGame)
import Display (display)
import Step (step)
import Input (getInput)
import Vec2 (originVec)
main : Signal Element
main = lift display (foldp step (initialGame { x = -50, y = 0 } 0) getInput)
|