1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! The alerts module enables applications to register alerts for when certain
//! conditions are met. Alerts are registered as [queries](crate::core::Query),
//! and automatically become active when [entities](crate::core::EntityView) match the alert query.
//!
//! Alerts are useful for monitoring application state, validating entity configurations,
//! and detecting problematic conditions at runtime. Each alert can have a severity level
//! and custom messages.
//!
//! # Example
//!
//! ```no_run
//! use flecs_ecs::prelude::*;
//!
//! #[derive(Component)]
//! struct Health(f32);
//!
//! let world = World::new();
//!
//! // Create an alert builder for entities with low health
//! let alert = world.alert::<&Health>()
//! .message("Low health detected")
//! .build();
//! ```
//!
//! # See also
//!
//! - [`AlertBuilder`] - Builder for creating alerts
//! - [`World::alert`](crate::core::World::alert) - Create a new alert
pub use *;
pub use *;
pub use *;
pub use *;