All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.worldwind.util.tree.Animation Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2012 United States Government as represented by the Administrator of the
 * National Aeronautics and Space Administration.
 * All Rights Reserved.
 */

package gov.nasa.worldwind.util.tree;

/**
 * An animation that can be played in series of steps.
 *
 * @author pabercrombie
 * @version $Id: Animation.java 1171 2013-02-11 21:45:02Z dcollins $
 */
public interface Animation
{
    /**
     * Reset the animation to the starting state.
     */
    void reset();

    /**
     * Step the animation.
     */
    void step();

    /**
     * Indicates whether or not there more steps left in the animation.
     *
     * @return {@code true} if there are more steps.
     */
    boolean hasNext();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy