blob: 4060c10aa885f3c86d47985e8a596e82758b4cd3 (
plain)
1
2
3
4
5
6
7
|
use std::{collections::HashMap, path::PathBuf};
use bevy::prelude::*;
/// A map of asset handles required by each entry in a room, indexed by their paths
#[derive(Resource, Default, Debug, Deref, DerefMut)]
pub struct RoomAssets(pub HashMap<PathBuf, HashMap<String, UntypedHandle>>);
|