// Path: core/src/nl/arjanfrans/mario/model/MovingActor.java
// public static enum State {
// 		
// 	Standing, Walking, Jumping, Dying, Dead, FlagSlide, NoControl, Pose
// }


import nl.arjanfrans.mario.model.MovingActor.State;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.utils.Array;
package nl.arjanfrans.mario.graphics;



public class GoombaAnimation extends CharacterAnimation {
	private Animation walking;
	private Animation trampled;

	public GoombaAnimation() {
		Array<AtlasRegion> regions = atlas.findRegions("goomba_walking");
		walking = new Animation(0.2f, regions);
		walking.setPlayMode(Animation.PlayMode.LOOP_PINGPONG);
		
		trampled = new Animation(1f, atlas.findRegion("goomba_trampled"));
	}
	
// Path: core/src/nl/arjanfrans/mario/model/MovingActor.java
// public static enum State {
// 		
// 	Standing, Walking, Jumping, Dying, Dead, FlagSlide, NoControl, Pose
// }


// Path: core/src/nl/arjanfrans/mario/graphics/GoombaAnimation.java
import nl.arjanfrans.mario.model.MovingActor.State;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.utils.Array;

package nl.arjanfrans.mario.graphics;



public class GoombaAnimation extends CharacterAnimation {
	private Animation walking;
	private Animation trampled;

	public GoombaAnimation() {
		Array<AtlasRegion> regions = atlas.findRegions("goomba_walking");
		walking = new Animation(0.2f, regions);
		walking.setPlayMode(Animation.PlayMode.LOOP_PINGPONG);
		
		trampled = new Animation(1f, atlas.findRegion("goomba_trampled"));
	}
	
	public Animation getAnimation(State state) {