Refactor shell movement, modularised in a tweakable way
This commit is contained in:
@@ -8,10 +8,12 @@ defaultShell = Shell
|
||||
{ _pjPos = (0,0)
|
||||
, _pjStartPos = (0,0)
|
||||
, _pjVel = (0,0)
|
||||
, _pjAcc = (0,0)
|
||||
, _pjDir = 0
|
||||
, _pjSpin = 0
|
||||
, _pjDraw = \_ -> blank
|
||||
, _pjID = 0
|
||||
, _pjTimer = 0
|
||||
, _pjUpdate = \_ -> id
|
||||
, _pjPayload = \_ -> id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user