Copyright | (c) Alexander Vieth, 2015 |
---|---|
License | BSD3 |
Maintainer | aovieth@gmail.com |
Stability | experimental |
Portability | non-portable (GHC only) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- type Subject = (Unit, ProvinceTarget)
- subjectUnit :: Subject -> Unit
- subjectProvinceTarget :: Subject -> ProvinceTarget
Documentation
type Subject = (Unit, ProvinceTarget) Source
Description of a subject in a diplomacy game, like the subject of an order for instance:
a. F Bre - Eng b. A Par S A Bre - Pic
have subjects
a. (Fleet, Normal Brest) b. (Army, Normal Paris)
subjectUnit :: Subject -> Unit Source