Rewrite plugin system to update plugins in parallel after each game tick.

This commit is contained in:
John Gross
2017-01-03 02:49:33 -08:00
parent 090ebd5ef5
commit a3e29fff4e
7 changed files with 66 additions and 100 deletions

View File

@@ -7,6 +7,7 @@ namespace Torch.API
{
public interface IPluginManager : IEnumerable<ITorchPlugin>
{
void UpdatePlugins();
void LoadPlugins();
}
}

View File

@@ -12,7 +12,6 @@ namespace Torch.API
Guid Id { get; }
Version Version { get; }
string Name { get; }
bool Enabled { get; set; }
void Init(ITorchBase torchBase);
void Update();