diff --git a/src/entity/gateway/entitygateway.rs b/src/entity/gateway/entitygateway.rs index c5edff7..68b3a84 100644 --- a/src/entity/gateway/entitygateway.rs +++ b/src/entity/gateway/entitygateway.rs @@ -134,12 +134,4 @@ pub trait EntityGateway: Send + Sync + Clone { async fn increment_kill_counter(&mut self, _item_entity_id: &ItemEntityId) -> Result<(), GatewayError> { unimplemented!(); } - - async fn get_kill_counter() { - unimplemented!(); - } - - async fn set_kill_counter() { - unimplemented!(); - } } diff --git a/src/entity/gateway/inmemory.rs b/src/entity/gateway/inmemory.rs index 8eaea02..24ba67b 100644 --- a/src/entity/gateway/inmemory.rs +++ b/src/entity/gateway/inmemory.rs @@ -356,12 +356,4 @@ impl EntityGateway for InMemoryGateway { } Ok(()) } - - async fn get_kill_counter() { - println!("src/entity/gateway/inmemory.rs::get_kill_counter() - unimplemented!"); - } - - async fn set_kill_counter() { - println!("src/entity/gateway/inmemory.rs::set_kill_counter() - unimplemented!"); - } } diff --git a/src/entity/item/mod.rs b/src/entity/item/mod.rs index 2c96e16..dae9f03 100644 --- a/src/entity/item/mod.rs +++ b/src/entity/item/mod.rs @@ -184,8 +184,6 @@ impl ItemDetail { } } - // TODO: delete this - // jk actually we need this pub fn increment_kill_counter(&mut self) { match self { ItemDetail::Weapon(w) => {w.increment_kill_counter()},