swarm-0.6.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.TUI.Controller.EventHandlers.Robot

Description

Here is the RobotPanel key event handler.

Because of how tricky the search logic is, the player configurable part and the dynamic search handler are both here.

Synopsis

Documentation

robotEventHandlers :: [KeyEventHandler SwarmEvent (EventM Name AppState)] Source #

Handle key events in the robot panel.

handleRobotPanelEvent :: BrickEvent Name AppEvent -> EventM Name AppState () Source #

Handle user input events in the robot panel.