Aetheria/Assets/Plugins/Ink/ink-engine-runtime/VariableAssignment.cs
Reinier Vens b1bd89a687 Mini Galaxy Gen
Added flags to game manager and player settings to check tutorial status
Created alternate galaxy generation process for tutorial
2021-04-22 02:53:06 +01:00

27 lines
815 B
C#

using System.ComponentModel;
namespace Ink.Runtime
{
// The value to be assigned is popped off the evaluation stack, so no need to keep it here
public class VariableAssignment : Runtime.Object
{
public string variableName { get; protected set; }
public bool isNewDeclaration { get; protected set; }
public bool isGlobal { get; set; }
public VariableAssignment (string variableName, bool isNewDeclaration)
{
this.variableName = variableName;
this.isNewDeclaration = isNewDeclaration;
}
// Require default constructor for serialisation
public VariableAssignment() : this(null, false) {}
public override string ToString ()
{
return "VarAssign to " + variableName;
}
}
}