You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oleegholm edited this page Jan 18, 2012
·
17 revisions
Each module has a Statemachine with several States. Any user interaction is detected by and processed within the Statemachine. Inputs can come from either from KEYS or MOUSE, and are fetched using Case Matches. When an event corresponds to the Case Match in the active State in the Statemachine, the code block within the given state is executed.
Conceptually, the hierarchy is as follows:
Statemachine
States ('Start, 'End, 'Point, etc.)
Case matches (Case MouseDown(), Case _, Case KeyDown etc.)