mirror of
https://github.com/Ratstail91/Mementos.git
synced 2025-11-29 10:34:27 +11:00
Committed everything
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user