robinheghan / elm-warrior / Warrior.Npc.Dummy

A dummy. A villainous entity which can be counted on for exactly one thing: standing still.

takeTurn : Warrior -> Warrior.Map.Map -> Warrior.History.History -> Warrior.Action

Use this function with the withNpc function of the Warrior.Map.Builder module to add opponents to a map.