onBegin gives opportunity to check keys once and call update on entities only when one key is pressed.
See Implementation
onBegin gives opportunity to check keys once and call update on entities only when one key is pressed.