| 166 | #[derive(Clone, Debug, Deserialize)] |
| 167 | #[serde(rename_all = "camelCase")] |
| 168 | pub 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 | |
| 183 | pub struct IntGridTile { |
| 184 | pub position: IVec2, |
nothing calls this directly
no outgoing calls
no test coverage detected