flecs_ecs 0.2.2

Rust API for the C/CPP flecs ECS library <https://github.com/SanderMertens/flecs>
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// To see what the result of parsing this file looks like, copy the code and
// paste it into the editor at https://flecs.dev/explorer
//
// To load this file yourself, call `World::run_file("anonymous_entity.flecs");`

// Create tags
SpaceShip { }
Engine { }

// To create an entity without a name just open a scope
{
  SpaceShip
}

// Anonymous entities can be used as parents and children
SpaceShip my_spaceship {
  { Engine }
}