This commit is contained in:
2019-01-30 17:48:11 -08:00
parent 3eda84210d
commit 45256f1a0e
3 changed files with 39 additions and 48 deletions

View File

@@ -4,11 +4,6 @@ use std::collections::HashMap;
use std::borrow::Cow;
use std::str::FromStr;
use sfml::graphics::IntRect;
use std::fs::File;
use std::io::BufRead;
use std::io::BufReader;
use crate::EntState;
use sfml::graphics::Sprite;
pub fn read_spritesheet(filename: String) -> HashMap<String, HashMap<String, i32>> {
@@ -30,8 +25,6 @@ pub fn read_spritesheet(filename: String) -> HashMap<String, HashMap<String, i32
let mut map_entry: HashMap<String, i32> = HashMap::new();
//println!("{:?}", d.name());
let mut name: String = String::new();
for i in d.attributes() {