Crate ute[][src]

Modules

generate

tile generation tools.

Structs

Edge
EdgeValue

holds a is_open: bool, and an edge_tag: Vec<TagPosition>

TagPosition

holds a tag_position: String, and a tag_value: String

Tile

map this struct with serde_json::from_str() | struct holds tile_id: String, tile_center: string, tile_edges: Vec<Edge>

Functions

identify_tile

takes in a mutable Tile ref (tile: &Tile) and returns a (String) with a new “tile_id” value based on the tile field information. EXAMPLE: identify_tile(tile) -> tile (it now has a tile_id)