// Path: core/src/nl/arjanfrans/mario/actions/MoveableActions.java
// public class MoveableActions extends Actions {
// 	
// 	public static Action DieAction(Actor actor) {
// 		return new Die(actor);
// 	}
// 	
// 	static public class Die extends Action {
// 		private Actor actor;
// 		
// 		public Die(Actor actor) {
// 			this.actor = actor;
// 		}
// 
// 		public boolean act(float delta) {
// 			((MovingActor) actor).setDead(true);
// 			return true;
// 		}
// 	}
// 	
// 	public static Action startMovingAction(Actor actor) {
// 		return new startMoving(actor);
// 	}
// 	
// 	static public class startMoving extends Action {
// 		public startMoving(Actor actor) {
// 			this.actor = actor;
// 		}
// 
// 		public boolean act(float delta) {
// 			((MovingActor) actor).setMoving(true);
// 			return true;
// 		}
// 	}
// 
// }


import nl.arjanfrans.mario.actions.MoveableActions;
import com.badlogic.gdx.math.Interpolation;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
package nl.arjanfrans.mario.model;




public abstract class Mushroom extends MovingActor {

	public Mushroom(World world, float x, float y, float max_velocity) {
		super(world, x, y, max_velocity);
	}

	public void appear() {
		this.setVisible(true);
		this.addAction(Actions.sequence(Actions.moveTo(this.getX(), this.getY() + this.getHeight(),
// Path: core/src/nl/arjanfrans/mario/actions/MoveableActions.java
// public class MoveableActions extends Actions {
// 	
// 	public static Action DieAction(Actor actor) {
// 		return new Die(actor);
// 	}
// 	
// 	static public class Die extends Action {
// 		private Actor actor;
// 		
// 		public Die(Actor actor) {
// 			this.actor = actor;
// 		}
// 
// 		public boolean act(float delta) {
// 			((MovingActor) actor).setDead(true);
// 			return true;
// 		}
// 	}
// 	
// 	public static Action startMovingAction(Actor actor) {
// 		return new startMoving(actor);
// 	}
// 	
// 	static public class startMoving extends Action {
// 		public startMoving(Actor actor) {
// 			this.actor = actor;
// 		}
// 
// 		public boolean act(float delta) {
// 			((MovingActor) actor).setMoving(true);
// 			return true;
// 		}
// 	}
// 
// }


// Path: core/src/nl/arjanfrans/mario/model/Mushroom.java
import nl.arjanfrans.mario.actions.MoveableActions;
import com.badlogic.gdx.math.Interpolation;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;

package nl.arjanfrans.mario.model;




public abstract class Mushroom extends MovingActor {

	public Mushroom(World world, float x, float y, float max_velocity) {
		super(world, x, y, max_velocity);
	}

	public void appear() {
		this.setVisible(true);
		this.addAction(Actions.sequence(Actions.moveTo(this.getX(), this.getY() + this.getHeight(),
				0.3f, Interpolation.linear), MoveableActions.startMovingAction(this)));