Creates a new transition by specifying the target state and the criteria for taking a transition to another state. The source state does not need to be specified, because the state itself knows its transition.
public Transition( Statetarget, stringcharacters );