mirror of
https://github.com/GIKExe/rust_mc_serv.git
synced 2025-06-24 02:12:58 +03:00
Player for save player pos
This commit is contained in:
parent
78c1404ce8
commit
2cf3b09d9d
6
src/minecraft/world/entity.rs
Normal file
6
src/minecraft/world/entity.rs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
struct Entity {
|
||||||
|
position: Vec3
|
||||||
|
}
|
10
src/minecraft/world/player.rs
Normal file
10
src/minecraft/world/player.rs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
struct Player {
|
||||||
|
entity_id: i32
|
||||||
|
}
|
||||||
|
|
||||||
|
impl Player for Entity {
|
||||||
|
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user