// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus).
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
namespace Fungus
{
public interface IExecuteHandlerConfigurator
{
///
/// If the assertion is evaluated in Update, after how many frame should the evaluation start. Defult is 1 (first frame)
///
int UpdateExecuteStartOnFrame { set; }
///
/// If the assertion is evaluated in Update and UpdateExecuteRepeat is true, how many frame should pass between evaluations
///
int UpdateExecuteRepeatFrequency { set; }
///
/// If the assertion is evaluated in Update, should the evaluation be repeated after UpdateExecuteRepeatFrequency frames
///
bool UpdateExecuteRepeat { set; }
///
/// If the assertion is evaluated after a period of time, after how many seconds the first evaluation should be done
///
float TimeExecuteStartAfter { set; }
///
/// If the assertion is evaluated after a period of time and TimeExecuteRepeat is true, after how many seconds should the next evaluation happen
///
float TimeExecuteRepeatFrequency { set; }
///
/// If the assertion is evaluated after a period, should the evaluation happen again after TimeExecuteRepeatFrequency seconds
///
bool TimeExecuteRepeat { set; }
///
/// Returns the ExecuteHandler component.
///
ExecuteHandler Component { get; }
}
}