// 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("docs.flecs");`
// Flecs script files can be used to annotate entities and components with
// documentation. These annotations use the flecs.doc addon.
// Create tags
Planet { }
@brief A brief description of planet Earth
@name The Earth
Earth {
Planet
}
// Annotations can be created for entities definfed elsewhere. This makes it
// possible to have a file separate from source code where you annotate your
// prefabs, components and entities with documentation
@brief The Position component
Position { }