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

Swarm.TUI.Editor.Controller

Description

 
Synopsis

Documentation

handleMiddleClick :: Location -> EventM Name AppState () Source #

"Eye Dropper" tool:

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

Handle user input events in the robot panel.

updateAreaBounds :: Maybe (Cosmic Coords) -> EventM Name AppState Bool Source #

Return value: whether the cursor position should be updated