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,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ink.Parsed
|
||||
{
|
||||
public class ExternalDeclaration : Parsed.Object, INamedContent
|
||||
{
|
||||
public string name
|
||||
{
|
||||
get { return identifier?.name; }
|
||||
}
|
||||
public Identifier identifier { get; set; }
|
||||
public List<string> argumentNames { get; set; }
|
||||
|
||||
public ExternalDeclaration (Identifier identifier, List<string> argumentNames)
|
||||
{
|
||||
this.identifier = identifier;
|
||||
this.argumentNames = argumentNames;
|
||||
}
|
||||
|
||||
public override Ink.Runtime.Object GenerateRuntimeObject ()
|
||||
{
|
||||
story.AddExternal (this);
|
||||
|
||||
// No runtime code exists for an external, only metadata
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user