use std::rc::Rc;
use crate::engine::d2::{display::Texture, sound::Sound, util::Disposable};
use super::File;
pub trait AssetPack: Disposable {
fn texture(&self, name: String, required: bool) -> Option<Rc<dyn Texture>>;
fn sound(&self, name: String, required: bool) -> Option<Rc<dyn Sound>>;
fn file(&self, name: String, required: bool) -> Option<Rc<dyn File>>;
}