From WiiBrew
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source code is clear and there is an interessting 'stat machine' in the example app, there each function is a state and return the next state.

The events are handled with the classic observer design pattern.