Code example for ArrayDeque

Methods: add

0
	ArrayDeque<Action> _actions;
	boolean _isDone = false;
	Action _current = null;
	 
	public SequenceAction(){ 
		_actions = new ArrayDeque<Action>();
	} 
	 
	public SequenceAction(Action a, Action b){
		this(); 
		 
		_actions.add(a);
		_actions.add(b);
	} 
	 
	public void addAction(Action action){
		_actions.add(action);
	} 
 
	@Override 
	public void step(float deltaTime) throws InvalidTargetActorException {