aboutsummaryrefslogtreecommitdiff
path: root/server/src/entity/tutorial.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-19 00:38:09 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-19 00:38:09 +0200
commit62d918e5feeaf5b3add982a5baaffb201a1f2ece (patch)
treeb14a0fa01f9df692592bf5d16543f43b6eb933d6 /server/src/entity/tutorial.rs
parent6b156bea343a0fd9a043dcfe7113986855a89aab (diff)
downloadhurrycurry-62d918e5feeaf5b3add982a5baaffb201a1f2ece.tar
hurrycurry-62d918e5feeaf5b3add982a5baaffb201a1f2ece.tar.bz2
hurrycurry-62d918e5feeaf5b3add982a5baaffb201a1f2ece.tar.zst
Implement interaction with other players through id instead of tile pos
Diffstat (limited to 'server/src/entity/tutorial.rs')
-rw-r--r--server/src/entity/tutorial.rs10
1 files changed, 1 insertions, 9 deletions
diff --git a/server/src/entity/tutorial.rs b/server/src/entity/tutorial.rs
index 69086165..8cc896ac 100644
--- a/server/src/entity/tutorial.rs
+++ b/server/src/entity/tutorial.rs
@@ -17,7 +17,7 @@
*/
use super::{Entity, EntityContext};
use anyhow::Result;
-use hurrycurry_locale::{TrError, trm};
+use hurrycurry_locale::trm;
use hurrycurry_protocol::{
ItemIndex, Message, PacketC, PlayerID, Recipe, RecipeIndex, TileIndex, glam::IVec2,
};
@@ -121,14 +121,6 @@ impl Entity for Tutorial {
Ok(())
}
- fn interact(
- &mut self,
- _c: EntityContext<'_>,
- _pos: Option<IVec2>,
- _player: PlayerID,
- ) -> Result<bool, TrError> {
- Ok(false)
- }
}
struct StepContext<'a> {