MCPcopy Create free account
hub / github.com/17cupsofcoffee/nova / Tile

Class Tile

src/ldtk.rs:168–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166#[derive(Clone, Debug, Deserialize)]
167#[serde(rename_all = "camelCase")]
168pub struct Tile {
169 #[serde(rename = "t")]
170 pub id: i32,
171
172 #[serde(deserialize_with = "deserialize_ldtk_point")]
173 pub px: IVec2,
174
175 #[serde(deserialize_with = "deserialize_ldtk_point")]
176 pub src: IVec2,
177
178 #[serde(rename = "f")]
179 #[serde(deserialize_with = "deserialize_ldtk_flags")]
180 pub flip: BVec2,
181}
182
183pub struct IntGridTile {
184 pub position: IVec2,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected