ProjectDDD/Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Lua/Lua Interpreter/Expr/BoolLiteral.cs

15 lines
296 B (Stored with Git LFS)
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Language.Lua
{
public partial class BoolLiteral : Term
{
public override LuaValue Evaluate(LuaTable enviroment)
{
return LuaBoolean.From(bool.Parse(this.Text));
}
}
}