filters.entities module

Provides entity filtering functionality.

class filters.entities.BaseEntityIter(class_names=None, exact_match=True)[source]

Bases: filters.iterator._IterObject

BaseEntity iterate class.

__init__(class_names=None, exact_match=True)[source]

Store the base attributes for the generator.

_is_valid(entity)[source]

Verify that the edict needs yielded.

static iterator()[source]

Iterate over all entities.entity.BaseEntity objects.

_filters = {}
class filters.entities.EntityIter(class_names=None, exact_match=True)[source]

Bases: filters.entities.BaseEntityIter

Entity iterate class.

static iterator()[source]

Iterate over all entities.entity.Entity objects.

_filters = {}