indent classes, align by spaces

This commit is contained in:
Garux
2021-03-24 00:25:15 +03:00
parent 5b1b9b5e6c
commit 2222100316
450 changed files with 42485 additions and 42239 deletions

View File

@@ -27,21 +27,21 @@
class EntityFilterWrapper : public Filter
{
bool m_active;
bool m_invert;
EntityFilter& m_filter;
bool m_active;
bool m_invert;
EntityFilter& m_filter;
public:
EntityFilterWrapper( EntityFilter& filter, bool invert ) : m_invert( invert ), m_filter( filter ){
}
void setActive( bool active ){
m_active = active;
}
bool active(){
return m_active;
}
bool filter( const Entity& entity ){
return m_invert ^ m_filter.filter( entity );
}
EntityFilterWrapper( EntityFilter& filter, bool invert ) : m_invert( invert ), m_filter( filter ){
}
void setActive( bool active ){
m_active = active;
}
bool active(){
return m_active;
}
bool filter( const Entity& entity ){
return m_invert ^ m_filter.filter( entity );
}
};