diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-03-19 06:52:42 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-03-19 06:52:42 +0100 |
commit | 9d8bf0fde7b12fa77569333d17f310e55df58db9 (patch) | |
tree | 958de22a18bc5d8a837db55233d282af3e7f4af4 /src/server/entity_map.rs | |
parent | e9dce64b009455163f2a262ed481c37300917c4a (diff) |
feat: focus ability
Diffstat (limited to 'src/server/entity_map.rs')
-rw-r--r-- | src/server/entity_map.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/entity_map.rs b/src/server/entity_map.rs new file mode 100644 index 0000000..13225fb --- /dev/null +++ b/src/server/entity_map.rs @@ -0,0 +1,6 @@ +use bevy::prelude::*; +use bevy::utils::*; +use lightyear::prelude::*; + +#[derive(Resource, Default)] +pub struct EntityMap(pub HashMap<ClientId, Entity>); |