Add support for left click actions

This commit is contained in:
jgk
2021-05-25 14:23:04 +02:00
parent 62c4baaec8
commit f737897b18
9 changed files with 141 additions and 34 deletions
+17
View File
@@ -0,0 +1,17 @@
module Dodge.Default.Shell
where
import Dodge.Data
import Picture
defaultShell :: Projectile
defaultShell = Shell
{ _pjPos = (0,0)
, _pjStartPos = (0,0)
, _pjVel = (0,0)
, _pjDir = 0
, _pjSpin = 0
, _pjDraw = \_ -> blank
, _pjID = 0
, _pjUpdate = \_ -> id
, _pjPayload = \_ -> id
}