Fixed bug with addComponents template
-deprecated Comonent.ref_ function -remover Comonent.ref_ usage from addComponents template -updated dub.json
This commit is contained in:
parent
54b210346d
commit
85e1f8a76e
5 changed files with 28 additions and 44 deletions
|
|
@ -94,7 +94,7 @@ static struct ECS
|
|||
*/
|
||||
mixin template Component()
|
||||
{
|
||||
ComponentRef ref_() @nogc nothrow return
|
||||
deprecated ComponentRef ref_() @nogc nothrow return
|
||||
{
|
||||
return ComponentRef(&this, becsID!(typeof(this)));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue