/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package scriptbuilder.structures.events;

import java.util.ArrayList;
import scriptbuilder.structures.ScriptEvent;

/**
 * Data model for an ATMS evaluation event. This is an evaluation event.
 *
 * @author Bryan McGuffin
 */
public class ATMSEvaluationEvent extends ScriptEvent implements I_EvaluationEvent
{

    public ATMSEvaluationEvent()
    {
        super(ScriptEventType.ATMS_EVAL_EVENT);
    }

    public ArrayList<String> expectedAction = new ArrayList<String>();

    @Override
    public ArrayList<String> getExpectedActions()
    {
        return expectedAction;
    }

    @Override
    public void addAction(String act)
    {
        expectedAction.add(act);
    }

    @Override
    public void updateAction(int index, String act)
    {
        expectedAction.set(index, act);
    }

    @Override
    public void removeAction(int index)
    {
        expectedAction.remove(index);
    }
}
