Skip to content

Commit

Permalink
yield_existing: Examples refer to EcsIterable
Browse files Browse the repository at this point in the history
This feature was removed in v4, so shouldn't be mentioned in the
examples.
  • Loading branch information
waywardmonkeys committed Aug 1, 2024
1 parent 1af6e06 commit c0220bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions examples/c/observers/yield_existing/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
// Observers can enable a "yield_existing" feature that upon creation of the
// observer produces events for all entities that match the observer query. The
// feature is only implemented for the builtin EcsOnAdd and EcsOnSet events.
//
// Custom events can also implement behavior for yield_existing by adding the
// Iterable component to the event (see EcsIterable for more details).

typedef struct {
double x, y;
Expand Down
3 changes: 0 additions & 3 deletions examples/cpp/observers/yield_existing/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
// Observers can enable a "yield_existing" feature that upon creation of the
// observer produces events for all entities that match the observer query. The
// feature is only implemented for the builtin EcsOnAdd and EcsOnSet events.
//
// Custom events can also implement behavior for yield_existing by adding the
// Iterable component to the event (see EcsIterable for more details).

struct Position {
double x, y;
Expand Down

0 comments on commit c0220bb

Please sign in to comment.