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