Copyright | (c) plaimi 2015 |
---|---|
License | AGPL-3 |
Maintainer | blubber@plaimi.net |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
The Blub
is our hero. It is either a NeutralBlub
that may simply be
consumed by PlayerBlub
, or it is indeed a PlayerBlub
.
A human-controlled Blub
has a velocity and a target position in
addition to the usual Entity
stuff.
isNeutral :: Entity -> Bool Source
isNeutral
is a quick hack to check if an Entity
holds a NeutralBlub
or not.