In my own game, I have a need to retrieve all IEntityIndexes within a IContext. Specifically, I manually deactivate each IEntityIndex at the end of each test in my suite to ensure that no Entitys are retained behind my back.
I add a new method to IContext, and then I implement it in Context<T>.
How Has This Been Tested?
I added a new test to the suite, and it passes.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
Description
In my own game, I have a need to retrieve all
IEntityIndex
es within aIContext
. Specifically, I manually deactivate eachIEntityIndex
at the end of each test in my suite to ensure that noEntity
s are retained behind my back.I add a new method to
IContext
, and then I implement it inContext<T>
.How Has This Been Tested?
I added a new test to the suite, and it passes.
Checklist: