Initial work on scripts
This commit is contained in:
1 parent
e17fe767bc
commit
9186d0efcc
4 files changed
+60
-4
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using System.Collections;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace PkmnLib.Dynamic.ScriptHandling;
|
||||
|
||||
@@ -6,7 +7,14 @@ public class ScriptContainer : IEnumerable<ScriptContainer>
|
||||
{
|
||||
private Script? _script = null;
|
||||
|
||||
[MemberNotNullWhen(false, nameof(ScriptHandling.Script))]
|
||||
public bool IsEmpty => _script is null;
|
||||
|
||||
public Script? Script
|
||||
{
|
||||
get => _script;
|
||||
set => _script = value;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public IEnumerator<ScriptContainer> GetEnumerator()
|
||||
|
||||
Reference in new issue
Block a user