// 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 { /// /// Standard comparison operators. /// public enum CompareOperator { /// == mathematical operator. Equals, /// != mathematical operator. NotEquals, /// < mathematical operator. LessThan, /// > mathematical operator. GreaterThan, /// <= mathematical operator. LessThanOrEquals, /// >= mathematical operator. GreaterThanOrEquals } /// /// Scope types for Variables. /// public enum VariableScope { /// Can only be accessed by commands in the same Flowchart. Private, /// Can be accessed from any command in any Flowchart. Public } /// /// A Fungus variable that can be used with Commands. /// public interface IVariable { /// /// Visibility scope for the variable. /// VariableScope Scope { get; } /// /// String identifier for the variable. /// string Key { get; set; } /// /// Callback to reset the variable if the Flowchart is reset. /// void OnReset(); } }