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

Class EntityInstance

src/ldtk.rs:190–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188#[derive(Clone, Debug, Deserialize)]
189#[serde(rename_all = "camelCase")]
190pub struct EntityInstance {
191 #[serde(rename = "__grid")]
192 #[serde(deserialize_with = "deserialize_ldtk_point")]
193 pub grid: IVec2,
194
195 pub field_instances: Vec<FieldInstance>,
196}
197
198impl EntityInstance {
199 pub fn get_field_instance(&self, id: &str) -> Option<&FieldInstance> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected