A An automaton implementation 25 B Two implementations of units 29 C An event handler implementation 30 D A movement action implementation 30 2