summaryrefslogtreecommitdiff
path: root/ecs/src/relationship.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/src/relationship.rs')
-rw-r--r--ecs/src/relationship.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/ecs/src/relationship.rs b/ecs/src/relationship.rs
index 44ed93a..7088613 100644
--- a/ecs/src/relationship.rs
+++ b/ecs/src/relationship.rs
@@ -422,3 +422,11 @@ where
self.relation.get(index)
}
}
+
+/// Relationship kind denoting a dependency to another entity
+#[derive(Debug, Default, Clone, Copy)]
+pub struct DependsOn;
+
+/// Relationship kind denoting being the child of another entity.
+#[derive(Debug, Default, Clone, Copy)]
+pub struct ChildOf;