Don't actually use the IConsoleProgram interface in code since it would require a huge number of casts and everything is inside Program anyway.

This commit is contained in:
2025-02-11 14:36:24 -05:00
parent 06be2bf30e
commit 66fff69396
5 changed files with 10 additions and 7 deletions

View File

@ -18,7 +18,7 @@ namespace IngameScript
private SortedDictionary<int, List<ISequenceable>> _sequence = new SortedDictionary<int, List<ISequenceable>>();
public Sequencer(IConsoleProgram program, string name)
public Sequencer(Program program, string name)
{
Name = name;
_console = new PrefixedConsole(program.Console, Name);