Runtime broken level generation
This commit is contained in:
+13
-13
@@ -479,21 +479,21 @@ type HitEffect = Particle' -> [(Point2, (Either3 Creature Wall ForceField))] ->
|
||||
|
||||
data Projectile
|
||||
= Projectile
|
||||
{ _ptPos :: Point2
|
||||
, _ptStartPos :: Point2
|
||||
, _ptVel :: Point2
|
||||
, _ptPict :: Picture
|
||||
, _ptID :: Int
|
||||
, _ptUpdate :: World -> World
|
||||
{ _pjPos :: Point2
|
||||
, _pjStartPos :: Point2
|
||||
, _pjVel :: Point2
|
||||
, _pjPict :: Picture
|
||||
, _pjID :: Int
|
||||
, _pjUpdate :: World -> World
|
||||
}
|
||||
| Shell
|
||||
{ _ptPos :: Point2
|
||||
, _ptStartPos :: Point2
|
||||
, _ptVel :: Point2
|
||||
, _ptPict :: Picture
|
||||
, _ptID :: Int
|
||||
, _ptUpdate :: World -> World
|
||||
, _ptExplosion :: Point2-> World -> World
|
||||
{ _pjPos :: Point2
|
||||
, _pjStartPos :: Point2
|
||||
, _pjVel :: Point2
|
||||
, _pjPict :: Picture
|
||||
, _pjID :: Int
|
||||
, _pjUpdate :: World -> World
|
||||
, _pjPayload :: Point2-> World -> World
|
||||
}
|
||||
|
||||
data DamageType
|
||||
|
||||
Reference in New Issue
Block a user