com.tomgibara.pronto.state
Interface StateTransitionParameters<S,L,P>
- Type Parameters:
S - the type of states in the engine's state graphL - the type of labels on the engine's state graphP - 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
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.