Reorganise weapons, start work on drones
This commit is contained in:
@@ -510,6 +510,8 @@ data Ammo
|
||||
, _amBulWth :: Float
|
||||
, _amBulVel :: Point2
|
||||
}
|
||||
| DroneAmmo
|
||||
{ _amString :: String }
|
||||
| GenericAmmo
|
||||
data PjParam = PjParam
|
||||
{ _pjMoveParam :: Int -> Item -> Creature -> Prop -> World -> World
|
||||
@@ -541,6 +543,14 @@ data Prop
|
||||
, _pjID :: Int
|
||||
, _pjUpdate :: Prop -> World -> World
|
||||
}
|
||||
| Drone
|
||||
{ _pjPos :: Point2
|
||||
, _pjStartPos :: Point2
|
||||
, _pjVel :: Point2
|
||||
, _prDraw :: Prop -> SPic
|
||||
, _pjID :: Int
|
||||
, _pjUpdate :: Prop -> World -> World
|
||||
}
|
||||
| RecursiveProp
|
||||
{ _pjPos :: Point2
|
||||
, _pjID :: Int
|
||||
|
||||
Reference in New Issue
Block a user