This commit is contained in:
andy 2022-05-29 22:27:57 +00:00
parent a21fb5a644
commit adf062c269
3 changed files with 0 additions and 18 deletions

View File

@ -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!();
}
}

View File

@ -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!");
}
}

View File

@ -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()},