Package com.ardor3d.extension.animation.skeletal.state

Examples of com.ardor3d.extension.animation.skeletal.state.SteadyState.doTransition()


    public boolean doTransition(final String key) {
        final AbstractFiniteState state = getCurrentState();
        // see if current state has a transition
        if (state instanceof SteadyState) {
            final SteadyState steadyState = (SteadyState) state;
            AbstractFiniteState nextState = steadyState.doTransition(key, this);
            if (nextState == null) {
                // no transition found, check if there is a global transition
                AbstractTransitionState transition = _transitions.get(key);
                if (transition == null) {
                    transition = _transitions.get("*");
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.