LambdaHack-0.2.6: A roguelike game engine in early and active development

Safe HaskellNone

Game.LambdaHack.Turn

Description

The main loop of the game, processing player and AI moves turn by turn.

Synopsis

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.