Transitions among states should be ordered.

Ordering allows the character developer to prioritize certain transitions over others.
"transitions" is a more descriptive name than "edges".
StateMachine:new will make a default object if none is passed, so remove dummy value.