Add support for external depencencies
This commit is contained in:
parent
b19fbb1528
commit
5e884352ba
5 changed files with 440 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue