Safe Haskell | None |
---|
The main loop of the game, processing player and AI moves turn by turn.
- handleTurn :: Action ()
Documentation
handleTurn :: Action ()Source
Start a clip (a part of a turn for which one or more frames will be generated). Do whatever has to be done every fixed number of time units, e.g., monster generation. Run the player and other actors moves. Eventually advance the time and repeat.