// 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 }
}