// 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
{
///
/// Scope types for Variables.
///
public enum VariableScope
{
Private,
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();
}
}