pub trait HasTile {
fn has_tile(&self, coords: WorldTileCoords, world: &World) -> bool;
fn get_available_parent(
&self,
coords: WorldTileCoords,
world: &World
) -> Option<WorldTileCoords> { ... }
fn get_available_children(
&self,
coords: WorldTileCoords,
world: &World,
search_depth: usize
) -> Option<Vec<WorldTileCoords>> { ... }
}Required Methods
source
fn has_tile(&self, coords: WorldTileCoords, world: &World) -> bool
Provided Methods
sourcefn get_available_parent(
fn get_available_parent(
&self,
coords: WorldTileCoords,
world: &World
) -> Option<WorldTileCoords>
sourcefn get_available_children(