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
//! Xvc Entity-Component System is the basic storage mechanism behind Xvc.
//! It defines an integer-based entity type ([XvcEntity]), a trait to be implemented by components
//! (structs) and stores to save, load and operate on these components.
//!
//! It's an alternative to an object-oriented design where the relations between classes should be
//! known beforehand.
//! It allows to implement new components for entities at any point in the
//! evolution of software.
//! These components can have 1-1, 1-N or M-N relationships.
//!
//! In a sense components are analogous to database tables, and entities are primary keys.
//! [XvcStore] can be considered akin to a table, and [R11Store], [R1NStore] and [RMNStore] can be
//! considered as relations.
pub use HStore;
pub use SharedHStore;
pub use init_generator;
pub use load_generator;
pub use R11Store;
pub use ChildEntity;
pub use R1NStore;
pub use RMNStore;
pub use Storable;
pub use VStore;
pub use SharedXStore;
pub use XvcStore;
pub use XvcEntity;
pub use XvcEntityGenerator;
pub use Event;
pub use EventLog;
pub use Error;
pub use Result;