Action class defines a new action that the main driver is capable of executing. Each instance of Action is inserted into a hash map in the main class, with the key being its name. For example, the action to simulate a program is inserted into this hash map with the key "simulate", and an instance of avrora.actions.SimulateAction.
| |