2022-01-29 14:31:02 +01:00
|
|
|
use rltk::rex::XpFile;
|
|
|
|
|
|
|
|
rltk::embedded_resource!(SMALL_DUNGEON, "../resources/SmallDungeon_80x50.xp");
|
|
|
|
|
|
|
|
pub struct RexAssets {
|
|
|
|
pub menu: XpFile,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl RexAssets {
|
|
|
|
#[allow(clippy::new_without_default)]
|
|
|
|
pub fn new() -> RexAssets {
|
|
|
|
rltk::link_resource!(SMALL_DUNGEON, "../resources/SmallDungeon_80x50.xp");
|
|
|
|
|
|
|
|
RexAssets {
|
2022-01-29 16:07:01 +01:00
|
|
|
menu: XpFile::from_resource("../resources/SmallDungeon_80x50.xp").unwrap(),
|
2022-01-29 14:31:02 +01:00
|
|
|
}
|
|
|
|
}
|
2022-01-29 16:07:01 +01:00
|
|
|
}
|