summaryrefslogtreecommitdiff
path: root/src/sim/entity/mod.rs
diff options
context:
space:
mode:
authorKai Stevenson <kai@kaistevenson.com>2026-08-22 15:00:35 -0700
committerKai Stevenson <kai@kaistevenson.com>2026-08-22 15:00:35 -0700
commit1a515237afb7ad09353a65f5fbc6e98a7c29ce8e (patch)
tree48cd4b4bcf8f8e357811f905f22607838d7c1f96 /src/sim/entity/mod.rs
parent6350e4ffca8ce1e46465284ef3d7559e0f40229b (diff)
sim manager refactor
Diffstat (limited to 'src/sim/entity/mod.rs')
-rw-r--r--src/sim/entity/mod.rs28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/sim/entity/mod.rs b/src/sim/entity/mod.rs
new file mode 100644
index 0000000..ab10ea8
--- /dev/null
+++ b/src/sim/entity/mod.rs
@@ -0,0 +1,28 @@
+// use glam::{IVec2, Vec2};
+// use rapier2d::{dynamics::RigidBodyHandle, geometry::ColliderHandle};
+
+// use crate::sim::cell::cell::Cell;
+
+// pub struct EntityCells {
+// pub size: IVec2,
+// pub cells: Vec<Cell>,
+// }
+// pub trait EntityBehaviour {
+// fn update (&mut self) -> ();
+// }
+
+// pub struct Entity {
+// pub rb_h: Option<RigidBodyHandle>,
+// pub collider_h: Option<ColliderHandle>,
+// pub cells: EntityCells,
+// pub behaviour:
+// }
+
+// impl Entity {
+// pub fn position(&self, rbsm:) -> Vec2 {
+
+// }
+// pub fn destroy(&mut self) -> {
+
+// }
+// }