sb3_decoder/model/project.rs
1use std::collections::BTreeMap;
2
3use crate::prelude::*;
4
5/// The representation of a Scratch project.
6#[derive(Debug)]
7#[non_exhaustive]
8pub struct Project {
9 pub sprites: Vec<Sprite>,
10 pub stage: Stage,
11
12 pub global_variables: BTreeMap<code::VarId, code::Variable>,
13 pub global_lists: BTreeMap<code::ListId, code::List>,
14
15 pub broadcasts: BTreeMap<code::BroadcastId, code::Broadcast>,
16}