[−][src]Trait amethyst_tiles::MapStorage
Generic trait over the underlying storage of a given Map
type.
Required methods
fn get(&self, coord: &Point3<u32>) -> Option<&T>
Try to get the Tile
type present at the provided coordinates.
fn get_mut(&mut self, coord: &Point3<u32>) -> Option<&mut T>
Try to get a mutable reference to Tile
type present at the provided coordinates.
fn get_mut_nochange(&mut self, coord: &Point3<u32>) -> Option<&mut T>
Try to get a mutable reference to Tile
type present at the provided coordinates.
fn get_raw(&self, coord: u32) -> Option<&T>
Try to get the Tile
type present at the provided coordinates.
fn get_raw_mut(&mut self, coord: u32) -> Option<&mut T>
Try to get a mutable reference to Tile
type present at the provided coordinates.
fn get_raw_mut_nochange(&mut self, coord: u32) -> Option<&mut T>
Try to get a mutable reference to Tile
type present at the provided coordinates.