diff options
| author | mat <github@matdoes.dev> | 2022-06-17 20:46:16 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-06-17 20:46:16 -0500 |
| commit | f993e79a7e6acc7aadd1e6cf9462d7a3e2c3ac3e (patch) | |
| tree | 43968ba301274358a74399a5ed3d73f5204e7046 /azalea-entity/src | |
| parent | fcdb6d31eeb93887caae104724b230196a0fc5bc (diff) | |
| download | azalea-drasl-f993e79a7e6acc7aadd1e6cf9462d7a3e2c3ac3e.tar.xz | |
Create azalea-entity
Diffstat (limited to 'azalea-entity/src')
| -rw-r--r-- | azalea-entity/src/lib.rs | 17 |
1 files changed, 17 insertions, 0 deletions
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); +// } +// } |
