Opened 10 years ago

Last modified 5 years ago

#2826 new task

Refactor the state machine in binaries/data/mods/public/gui/session/input.js — at Version 1

Reported by: Rolf Sievers Owned by: Rolf Sievers
Priority: Should Have Milestone: Backlog
Component: UI – In-game Keywords:
Cc: Patch:

Description (last modified by Rolf Sievers)

In the input.js file, there is a comment which reads:

// TODO: it'd probably be nice to have a better state-machine system, with guaranteed
// entry/exit functions, since this is a bit broken now

I'd like to fix that, this ticket will document the progress and the discussion.

This ticket is blocked by #2407. (Because I won't drastically modify the file structure before you commit my patch over there.)

Change History (1)

comment:1 by Rolf Sievers, 10 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.