This method is a virtual method that performs the actual event consumption.
In a flat statechart implementation, this method is not called, and the user class override is called instead.
In a reusable statechart implementation, this method calls the root state's takeEvent method to consume the event. The root state is a user class derived from State.