Struct uorustlibs::map::StaticReader
[−]
[src]
pub struct StaticReader<T: Read + Seek> { /* fields omitted */ }
Methods
impl StaticReader<File>
[src]
pub fn new(
index_path: &Path,
mul_path: &Path,
width_blocks: u32,
height_blocks: u32
) -> Result<StaticReader<File>>
[src]
index_path: &Path,
mul_path: &Path,
width_blocks: u32,
height_blocks: u32
) -> Result<StaticReader<File>>
impl<T: Read + Seek> StaticReader<T>
[src]
pub fn read_block(&mut self, id: u32) -> Result<Vec<StaticLocation>>
[src]
pub fn read_block_from_coordinates(
&mut self,
x: u32,
y: u32
) -> Result<Vec<StaticLocation>>
[src]
&mut self,
x: u32,
y: u32
) -> Result<Vec<StaticLocation>>