src/engine/components/Sprite.java
public void animate(String file) throws EngineException {
		a = new SpriteTransition(getImage(), file);
		a.setCycleCount(Animation.INDEFINITE);
		a.play();
		isPlaying = true;
	}
/**
	 * Animates sprite using a Sprite Transition, a kind of animation that changes the image's viewport.
	 * @throws EngineException 
	 */
Animates sprite using a Sprite Transition, a kind of animation that changes the image's viewport.
Animates sprite using a Sprite Transition a kind of animation that changes the image ' s viewport .
public void animate(String file) throws EngineException {
		a = new SpriteTransition(getImage(), file);
		a.setCycleCount(Animation.INDEFINITE);
		a.play();
		isPlaying = true;
	}
public void animate ( String file ) throws EngineException { a = new SpriteTransition ( getImage ( ) , file ) ; a . setCycleCount ( Animation . INDEFINITE ) ; a . play ( ) ; isPlaying = true ; }
Animates sprite using a Sprite Transition, a kind of animation that changes the image's viewport.
Animates sprite using a Sprite Transition a kind of animation that changes the image ' s viewport .