Example #1
0
 /**
  * Performs the action and returns the time to wait before performing the next action.
  */
 public int PerformAction(Action action)
 {
     Log.log("Performing action: " + action);
     action.perform();
     Log.log("Performed action: " + action);
     return action.delay();
 }