Ink Integration

Initial integration of Ink scripting - simply runs the first story it finds.
This commit is contained in:
Reinier Vens 2021-04-19 04:35:46 +01:00
commit 82c8041765
215 changed files with 23662 additions and 17 deletions

View file

@ -0,0 +1,18 @@
using System.Collections.Generic;
namespace Ink
{
public static class InkStringConversionExtensions
{
public static string[] ToStringsArray<T>(this List<T> list) {
int count = list.Count;
var strings = new string[count];
for(int i = 0; i < count; i++) {
strings[i] = list[i].ToString();
}
return strings;
}
}
}