Commit 33c5ab04 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Adapt to new filter interface - WIP

parent 2a474473
......@@ -219,7 +219,7 @@ namespace ITA
bAudible && filterIter != m_lAudibilityFilters.end ( );
++filterIter )
{
bAudible &= ( *filterIter )->filter ( *m_mPreviousStates.at ( pUpdate->getReferenceID ( ) ), *pUpdate );
bAudible &= ( *filterIter )->changeIsAudible ( *m_mPreviousStates.at ( pUpdate->getReferenceID ( ) ), *pUpdate );
}
}
......
......@@ -108,7 +108,7 @@ struct MockAudibilityFilter : public audibility_filter::IAudibilityFilter
return std::make_unique<MockAudibilityFilter> ( pConfig );
}
bool filter ( const CUpdateScene& previousState, const CUpdateScene& newUpdate ) override
bool changeIsAudible ( const CUpdateScene& previousState, const CUpdateScene& newUpdate ) override
{
return bAudible;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment