package massim.protocol.scenario.city;

import massim.protocol.messagecontent.Action;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * Created in 2017.
 */
public abstract class Actions {

    // scenario-specific action names/types
    public final static String GO_TO = "goto";
    public final static String RECEIVE = "receive";
    public final static String GIVE = "give";
    public final static String STORE = "store";
    public final static String RETRIEVE = "retrieve";
    public final static String ASSEMBLE = "assemble";
    public final static String ASSIST_ASSEMBLE = "assist_assemble";
    public final static String BUY = "buy";
    public final static String DELIVER_JOB = "deliver_job";
    public final static String RETRIEVE_DELIVERED = "retrieve_delivered";
    public final static String BID_FOR_JOB = "bid_for_job";
    public final static String DUMP = "dump";
    public final static String CHARGE = "charge";
    public final static String CONTINUE = "continue";
    public final static String ABORT = "abort";
    public final static String SKIP = "skip";
    public final static String POST_JOB = "post_job";
    public final static String GATHER = "gather";
    public final static String RECHARGE = "recharge";

    /**
     * Unmodifiable list of all actions in the scenario.
     */
    public final static List<String> ALL_ACTIONS = Collections.unmodifiableList(Arrays.asList(GO_TO, RECEIVE, GIVE,
            STORE, RETRIEVE, ASSEMBLE, ASSIST_ASSEMBLE, BUY, DELIVER_JOB, RETRIEVE_DELIVERED, BID_FOR_JOB, DUMP, CHARGE,
            CONTINUE, SKIP, POST_JOB, Action.NO_ACTION, GATHER, RECHARGE, ABORT));
}

@@ -1272,16 +1272,120 @@
 charge%22;
+%0A    public final static String BUILD = %22build%22;%0A    public final static String DISMANTLE = %22dismantle%22;
 %0A%0A    /*
@@ -1767,14 +1767,32 @@
 E, ABORT
+, BUILD, DISMANTLE
 ));%0A%7D%0A

prepare for new actions