com.tomgibara.pronto.state
Interface StateTransitionParameters<S,L,P>

Type Parameters:
S - the type of states in the engine's state graph
L - the type of labels on the engine's state graph
P - the type of transition parameterisation of the state activator

public interface StateTransitionParameters<S,L,P>

An implementation of this interface mnay be supplied to StateEngine objects when transitioning along a path. It provides a parameter for each individual transition in the sequence of transitions.

Author:
Tom Gibara

Method Summary
 P getParameter(StateTransition<S,L> transition)
          Provides a parameter for a specified transition.
 

Method Detail

getParameter

P getParameter(StateTransition<S,L> transition)
Provides a parameter for a specified transition.

Parameters:
transition - the transition for which a parameter may be necessary
Returns:
a parameter for the transition, or null


Copyright © 2006-2007 Tom Gibara. All Rights Reserved.