Struct quicksilver::geom::Tile
[−]
[src]
pub struct Tile<T: Clone> { pub value: Option<T>, pub empty: bool, }
An individual tile
Fields
value: Option<T>
The value stored in this tile
empty: bool
If the tile is empty from a movement perspective
Methods
impl<T: Clone> Tile<T>
[src]
fn solid(value: Option<T>) -> Tile<T>
[src]
Create a solid version of a tile
fn empty(value: Option<T>) -> Tile<T>
[src]
Create a non-solid version of a tile