Add support for external depencencies

This commit is contained in:
Mergul 2020-05-12 17:28:31 +02:00
parent b19fbb1528
commit 5e884352ba
5 changed files with 440 additions and 5 deletions

View file

@ -92,4 +92,20 @@ static struct ECS
{
alias ExcludedComponents = T;
}
/************************************************************************************************************************
Make list of readonly ependencies. This template get strings as arguments. Should be added inside System structure.
*/
mixin template ReadOnlyDependencies(T...)
{
alias ReadOnlyDependencies = T;
}
/************************************************************************************************************************
Make list of writable ependencies. This template get strings as arguments. Should be added inside System structure.
*/
mixin template WritableDependencies(T...)
{
alias WritableDependencies = T;
}
}