SimpleAI
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Groups
Pages
src
ai
filter
SelectEmpty.h
Go to the documentation of this file.
1
5
#pragma once
6
7
#include "
filter/IFilter.h
"
8
9
namespace
ai {
10
14
class
SelectEmpty
:
public
IFilter {
15
public
:
16
FILTER_CLASS_SINGLETON(
SelectEmpty
)
17
18
void
filter (
const
AIPtr& entity)
override
;
19
};
20
21
inline
void
SelectEmpty::filter (
const
AIPtr& entity) {
22
getFilteredEntities(entity).clear();
23
}
24
25
}
ai::SelectEmpty
This filter just clears the selection.
Definition:
SelectEmpty.h:14
IFilter.h
Generated by
1.8.6