1
Fork 0

increase resolve

This commit is contained in:
Andy Killorin 2026-11-10 00:26:49 -05:00
parent c491497129
commit 710050f01a
Signed by: ank
GPG key ID: 23F9463ECB67FE8C

View file

@ -116,14 +116,13 @@ impl Robot {
if let Some(_) = contact(&pose, &*weapon, p_p , p_c, 0.0).unwrap() {
peer.kill();
}
}
if self.weapon.kills_user {
self.kill(); // o7
}
}
}
}
pub fn policy(&mut self, sensor: &Sensor) -> bool{
match sensor {
Sensor::Food => self.move_step(self.policy.food),