Table of Contents

Struct QueryBuilder

Namespace
Frent.Systems.Queries
Assembly
Frent.dll

A variadic type for building queries. Should not be implemented manually.

public readonly struct QueryBuilder : IQueryBuilder
Implements
Inherited Members

Constructors

QueryBuilder(World)

A variadic type for building queries. Should not be implemented manually.

public QueryBuilder(World world)

Parameters

world World

Properties

World

A variadic type for building queries. Should not be implemented manually.

public World World { get; init; }

Property Value

World

Methods

AddRules(List<Rule>)

A variadic type for building queries. Should not be implemented manually.

public void AddRules(List<Rule> rules)

Parameters

rules List<Rule>

Build()

A variadic type for building queries. Should not be implemented manually.

public Query Build()

Returns

Query

Tagged<N>()

Includes entities with the tag N in this query.

public QueryTagged<N, QueryBuilder> Tagged<N>()

Returns

QueryTagged<N, QueryBuilder>

Type Parameters

N

The type of tag of include.

Untagged<N>()

Excludes entities with the tag N from this query.

public QueryUntagged<N, QueryBuilder> Untagged<N>()

Returns

QueryUntagged<N, QueryBuilder>

Type Parameters

N

The type of tag of excludes.

With<N>()

Includes entities with the component N in this query.

public QueryWith<N, QueryBuilder> With<N>()

Returns

QueryWith<N, QueryBuilder>

Type Parameters

N

The type of component to include.

Without<N>()

Excludes entities with the component N from this query.

public QueryWithout<N, QueryBuilder> Without<N>()

Returns

QueryWithout<N, QueryBuilder>

Type Parameters

N

The type of component to exclude.