From f993e79a7e6acc7aadd1e6cf9462d7a3e2c3ac3e Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 17 Jun 2022 20:46:16 -0500 Subject: Create azalea-entity --- azalea-entity/src/lib.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 azalea-entity/src/lib.rs (limited to 'azalea-entity/src') diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs new file mode 100644 index 00000000..506f5780 --- /dev/null +++ b/azalea-entity/src/lib.rs @@ -0,0 +1,17 @@ +use azalea_core::EntityPos; + +#[derive(Default, Debug)] +pub struct Entity { + /// The incrementing numerical id of the entity. + pub id: u32, + pub pos: EntityPos, +} + +// #[cfg(test)] +// mod tests { +// #[test] +// fn it_works() { +// let result = 2 + 2; +// assert_eq!(result, 4); +// } +// } -- cgit v1.2.3