aboutsummaryrefslogtreecommitdiff
path: root/server/src/spatial_index.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-07-18 15:42:11 +0200
committermetamuffin <metamuffin@disroot.org>2024-07-18 15:42:11 +0200
commit5f883c80e7fc63c97910d003c44aea814ab8a5d6 (patch)
treeb73a8c8f78db103671128e686136f08aa276923a /server/src/spatial_index.rs
parentefc29c03f7be043ae8d037a93efce8cfa7c384cc (diff)
downloadhurrycurry-5f883c80e7fc63c97910d003c44aea814ab8a5d6.tar
hurrycurry-5f883c80e7fc63c97910d003c44aea814ab8a5d6.tar.bz2
hurrycurry-5f883c80e7fc63c97910d003c44aea814ab8a5d6.tar.zst
reimplement customers as entity
Diffstat (limited to 'server/src/spatial_index.rs')
-rw-r--r--server/src/spatial_index.rs17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/src/spatial_index.rs b/server/src/spatial_index.rs
index 4395f0f5..a62c80e0 100644
--- a/server/src/spatial_index.rs
+++ b/server/src/spatial_index.rs
@@ -1,3 +1,20 @@
+/*
+ Hurry Curry! - a game about cooking
+ Copyright 2024 metamuffin
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, version 3 of the License only.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+*/
use hurrycurry_protocol::glam::Vec2;
use std::{collections::HashMap, hash::Hash};