Module save_project

Source
Expand description

Contains the events for saving projects and their handling systems.

Structs§

SaveProjectCompleteEvent
This event indicates that the work of a SaveProjectEvent has completed.
SaveProjectEvent
When this event is sent, the associated project will be fetched and saved. As a reaction to this event, a system will build a [bevy::prelude::Query] that attempts to fetch all [data::Project]’s [data::Level]s (and their descendant [data::Layer]s along all their descendants) and then (attempts) to persist them to disk.

Functions§

handle_save_project
Bevy system that handles SaveProjectEvent events.