// 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;
		
		dying = new Animation(0, atlas.findRegion("mario_mini_dead"));

		// For animation with more than 1 frames use 'regions = atlas.findRegions("...").
		regions = atlas.findRegions("mario_big_walking");
		standing_big = new Animation(0, regions.get(0));
		walking_big = new Animation(0.1f, regions);
		walking_big.setPlayMode(Animation.PlayMode.LOOP_PINGPONG);
		
		jumping_big = new Animation(0, atlas.findRegion("mario_big_jump"));
		
		crouch_big = new Animation(0, atlas.findRegion("mario_big_crouch"));
		
		regions = atlas.findRegions("mario_big_flagslide");
		flagslide_big = new Animation(1f, regions);
		
		regions = atlas.findRegions("mario_mini_flagslide");
		flagslide_small = new Animation(1f, regions);
		
		regions = atlas.findRegions("mario_big_pose");
		pose_big = new Animation(3.5f, regions);
		
		
		//TODO add mini mario pose
		regions = atlas.findRegions("mario_mini_jump");
		pose_small = new Animation(3.5f, regions);
		
	}


// 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/MarioAnimation.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;

		
		dying = new Animation(0, atlas.findRegion("mario_mini_dead"));

		// For animation with more than 1 frames use 'regions = atlas.findRegions("...").
		regions = atlas.findRegions("mario_big_walking");
		standing_big = new Animation(0, regions.get(0));
		walking_big = new Animation(0.1f, regions);
		walking_big.setPlayMode(Animation.PlayMode.LOOP_PINGPONG);
		
		jumping_big = new Animation(0, atlas.findRegion("mario_big_jump"));
		
		crouch_big = new Animation(0, atlas.findRegion("mario_big_crouch"));
		
		regions = atlas.findRegions("mario_big_flagslide");
		flagslide_big = new Animation(1f, regions);
		
		regions = atlas.findRegions("mario_mini_flagslide");
		flagslide_small = new Animation(1f, regions);
		
		regions = atlas.findRegions("mario_big_pose");
		pose_big = new Animation(3.5f, regions);
		
		
		//TODO add mini mario pose
		regions = atlas.findRegions("mario_mini_jump");
		pose_small = new Animation(3.5f, regions);
		
	}


	public Animation getAnimation(State state, int level) {