[Statechart] (refactoring) In State functions, Action parameters are passed by const-ref.