bleeding 2 save
This commit is contained in:
parent
a48d85e056
commit
45312108af
1 changed files with 9 additions and 1 deletions
|
|
@ -1,7 +1,13 @@
|
|||
use super::components::*;
|
||||
use specs::error::NoError;
|
||||
use specs::prelude::*;
|
||||
use specs::saveload::{ DeserializeComponents, MarkedBuilder, SerializeComponents, SimpleMarker, SimpleMarkerAllocator };
|
||||
use specs::saveload::{
|
||||
DeserializeComponents,
|
||||
MarkedBuilder,
|
||||
SerializeComponents,
|
||||
SimpleMarker,
|
||||
SimpleMarkerAllocator,
|
||||
};
|
||||
use std::fs;
|
||||
use std::fs::File;
|
||||
use std::path::Path;
|
||||
|
|
@ -58,6 +64,7 @@ pub fn save_game(ecs: &mut World) {
|
|||
ArmourClassBonus,
|
||||
Attributes,
|
||||
Beatitude,
|
||||
Bleeds,
|
||||
Blind,
|
||||
BlocksTile,
|
||||
BlocksVisibility,
|
||||
|
|
@ -187,6 +194,7 @@ pub fn load_game(ecs: &mut World) {
|
|||
ArmourClassBonus,
|
||||
Attributes,
|
||||
Beatitude,
|
||||
Bleeds,
|
||||
Blind,
|
||||
BlocksTile,
|
||||
BlocksVisibility,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue