Code example for ArrayDeque

Methods: add

0
		_actions.add(a);
		_actions.add(b);
	} 
	 
	public void addAction(Action action){
		_actions.add(action);
	} 
 
	@Override 
	public void step(float deltaTime) throws InvalidTargetActorException {
		if(isDone()) 
			return; 
		 
		if(_current.isDone()){
			_actions.pop();
			_current = _actions.peek();
			 
			if(null == _current){
				_isDone = true;
				return; 
			}