public RemoveEventTest(Contexts contexts, bool removeComponentWhenEmpty) { _removeComponentWhenEmpty = removeComponentWhenEmpty; _listener = contexts.test.CreateEntity(); _listener.AddAnyStandardEventListener(this); _listener.AddFlagEntityEventListener(this); }