mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
17 lines
320 B
Rust
17 lines
320 B
Rust
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);
|
|
// }
|
|
// }
|