Add basic booster
This commit is contained in:
+7
-1
@@ -384,7 +384,7 @@ data Projectile
|
||||
{ _pjPos :: Point2
|
||||
, _pjStartPos :: Point2
|
||||
, _pjVel :: Point2
|
||||
, _pjPict :: Picture
|
||||
, _pjDraw :: Picture
|
||||
, _pjID :: Int
|
||||
, _pjUpdate :: World -> World
|
||||
}
|
||||
@@ -397,6 +397,12 @@ data Projectile
|
||||
, _pjUpdate :: World -> World
|
||||
, _pjPayload :: Point2-> World -> World
|
||||
}
|
||||
| BoostShockwave
|
||||
{ _pjID :: Int
|
||||
, _pjPict :: Picture
|
||||
, _pjUpdate :: World -> World
|
||||
, _pjPoints :: [Point2]
|
||||
}
|
||||
data Either3 a b c = E3x1 a | E3x2 b | E3x3 c
|
||||
data Wall
|
||||
= Wall
|
||||
|
||||
Reference in New Issue
Block a user