swarm-0.3.0.0: 2D resource gathering game with programmable robots
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.TUI.Model.Name

Synopsis

Documentation

data FocusablePanel Source #

Constructors

REPLPanel

The panel containing the REPL.

WorldPanel

The panel containing the world view.

RobotPanel

The panel showing robot info and inventory on the top left.

InfoPanel

The info panel on the bottom left.

Instances

Instances details
Bounded FocusablePanel Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Enum FocusablePanel Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Read FocusablePanel Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Show FocusablePanel Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Eq FocusablePanel Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Ord FocusablePanel Source # 
Instance details

Defined in Swarm.TUI.Model.Name

data GoalWidget Source #

Instances

Instances details
Bounded GoalWidget Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Enum GoalWidget Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Read GoalWidget Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Show GoalWidget Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Eq GoalWidget Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Ord GoalWidget Source # 
Instance details

Defined in Swarm.TUI.Model.Name

data Button Source #

Clickable buttons in modal dialogs.

Instances

Instances details
Bounded Button Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Enum Button Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Read Button Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Show Button Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Eq Button Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Methods

(==) :: Button -> Button -> Bool #

(/=) :: Button -> Button -> Bool #

Ord Button Source # 
Instance details

Defined in Swarm.TUI.Model.Name

data Name Source #

Name represents names to uniquely identify various components of the UI, such as forms, panels, caches, extents, lists, and buttons.

Constructors

FocusablePanel FocusablePanel 
REPLInput

The REPL input form.

WorldCache

The render cache for the world view.

WorldExtent

The cached extent for the world view.

InventoryList

The list of inventory items for the currently focused robot.

InventoryListItem Int

The inventory item position in the InventoryList.

MenuList

The list of main menu choices.

AchievementList

The list of achievements.

GoalWidgets GoalWidget

The list of goals/objectives.

ScenarioList

The list of scenario choices.

InfoViewport

The scrollable viewport for the info panel.

ModalViewport

The scrollable viewport for any modal dialog.

Button Button

A clickable button in a modal dialog.

Instances

Instances details
Read Name Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Show Name Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Methods

showsPrec :: Int -> Name -> ShowS #

show :: Name -> String #

showList :: [Name] -> ShowS #

Eq Name Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Methods

(==) :: Name -> Name -> Bool #

(/=) :: Name -> Name -> Bool #

Ord Name Source # 
Instance details

Defined in Swarm.TUI.Model.Name

Methods

compare :: Name -> Name -> Ordering #

(<) :: Name -> Name -> Bool #

(<=) :: Name -> Name -> Bool #

(>) :: Name -> Name -> Bool #

(>=) :: Name -> Name -> Bool #

max :: Name -> Name -> Name #

min :: Name -> Name -> Name #