cleanup
This commit is contained in:
parent
a21fb5a644
commit
adf062c269
@ -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!();
|
||||
}
|
||||
}
|
||||
|
@ -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!");
|
||||
}
|
||||
}
|
||||
|
@ -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()},
|
||||
|
Loading…
x
Reference in New Issue
Block a user