Skip to content

Instantly share code, notes, and snippets.

@AustinBrunkhorst
Created October 19, 2014 10:59
Show Gist options
  • Select an option

  • Save AustinBrunkhorst/8ffe809c63f54f4209a3 to your computer and use it in GitHub Desktop.

Select an option

Save AustinBrunkhorst/8ffe809c63f54f4209a3 to your computer and use it in GitHub Desktop.
Filter System Example
class MyFilterSystem : public FilterSystem
{
public:
MyFilterSystem(World &world)
: FilterSystem(world, Filter().All<>().Exclude<>().One<>())
{
}
~MyFilterSystem(void)
{
}
void Process(Entity *entity) override
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment