aboutsummaryrefslogtreecommitdiff
path: root/go/ui/mapView.go
Commit message (Collapse)AuthorAgeFilesLines
* initialize event handler map and hanlde neutralized tilesFlorian Fischer2025-08-201-0/+3
|
* overhaul uiFlorian Fischer2025-08-201-10/+26
| | | | | | | | | | | * implement events instead of interfaces Interfaces and the wrappers head the problem that they could not support multiple events at once or only a single one without loosing the others. * add text input support for WASM on mobile A hidden html input is required to open the keyboard and receive the input. * improve the number choice * fix using the default number * add submit button only if a onclick method was provided
* introduce game.State interface abstractionFlorian Fischer2025-08-201-20/+20
| | | | | This allows to not use the internal game state directly from client code.
* support special wall, gate and tower tile selectionFlorian Fischer2025-08-201-15/+122
|
* ui: allow multiple highlights of thesame game pieceFlorian Fischer2025-08-201-16/+28
|
* ui: add simple hamburger style pile hintFlorian Fischer2025-08-201-0/+59
|
* bump ebiten version to 2.5.1 and new APIsFlorian Fischer2025-08-201-3/+3
|
* ui: separate selection and options via their highlight colorFlorian Fischer2025-08-201-30/+40
|
* move more ui logic into CollectionFlorian Fischer2025-08-201-2/+20
| | | | | * Generalize hover detection and move it into ui.Collection * Implement transparencu for the prompt banner
* replace Fatalf with PanicfFlorian Fischer2025-08-201-1/+1
| | | | Panicf includes a stacktrace and causes a debugger to halt.
* intermediate commitFlorian Fischer2025-08-201-0/+4
|
* improve permanent pile supportFlorian Fischer2025-08-201-2/+10
| | | | | | * Fix alot of bugs caused by permanents without tiles * Implement a permanent choice to select the permanents in a pile * Fix how pile hooks are called
* intermediate commitFlorian Fischer2025-08-201-0/+271