/**
 * 
 */
package studio.junk.jam.coloritum.entities.components;

import com.badlogic.ashley.core.Component;
import com.badlogic.ashley.core.ComponentMapper;
import com.badlogic.gdx.graphics.g2d.Animation;

/**
 * @author held03
 */
public class Animated implements Component {
	public static final ComponentMapper<Animated> mapper = ComponentMapper.getFor(Animated.class);

	public float stateTime;

	public final Animation anim;

	/**
	 * 
	 */
	public Animated(Animation anim) {
		this.anim = anim;
		this.stateTime = 0f;
	}

}
