Skip to content

Commit 805a5b9

Browse files
committed
feat: remove queries
1 parent d378ca5 commit 805a5b9

18 files changed

Lines changed: 135 additions & 2744 deletions

File tree

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ require (
1515
github.com/aws/aws-sdk-go-v2/service/s3 v1.96.4
1616
github.com/aws/smithy-go v1.24.2
1717
github.com/caarlos0/env/v11 v11.3.1
18-
github.com/expr-lang/expr v1.17.7
1918
github.com/getsentry/sentry-go v0.36.2
2019
github.com/goccy/go-json v0.10.5
2120
github.com/golang-jwt/jwt/v5 v5.2.2

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV
7272
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
7373
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
7474
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
75-
github.com/expr-lang/expr v1.17.7 h1:Q0xY/e/2aCIp8g9s/LGvMDCC5PxYlvHgDZRQ4y16JX8=
76-
github.com/expr-lang/expr v1.17.7/go.mod h1:8/vRC7+7HBzESEqt5kKpYXxrxkr31SaO8r40VO/1IT4=
7775
github.com/getsentry/sentry-go v0.36.2 h1:uhuxRPTrUy0dnSzTd0LrYXlBYygLkKY0hhlG5LXarzM=
7876
github.com/getsentry/sentry-go v0.36.2/go.mod h1:p5Im24mJBeruET8Q4bbcMfCQ+F+Iadc4L48tB1apo2c=
7977
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=

pkg/cardinal/internal/ecs/ecs.go

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,18 @@ func MatchArchetype(world *World, eid EntityID, components bitmap.Bitmap, match
132132
return nil
133133
}
134134

135+
// SearchMatch is the type of archetype match to use when selecting entities.
136+
type SearchMatch string
137+
138+
const (
139+
// MatchExact matches entities that have exactly the specified components.
140+
MatchExact SearchMatch = "exact"
141+
// MatchContains matches entities that contain the specified components and may have others.
142+
MatchContains SearchMatch = "contains"
143+
// MatchAll matches all entities regardless of components.
144+
MatchAll SearchMatch = "all"
145+
)
146+
135147
// -------------------------------------------------------------------------------------------------
136148
// System Event Functions
137149
// -------------------------------------------------------------------------------------------------

pkg/cardinal/internal/ecs/search.go

Lines changed: 0 additions & 217 deletions
This file was deleted.

0 commit comments

Comments
 (0)