author | unC0Rr |
Tue, 31 Dec 2024 15:18:18 +0100 | |
branch | transitional_engine |
changeset 16053 | 85d7d6b71087 |
permissions | -rw-r--r-- |
use crate::ai::ammo::AmmoType; use crate::ai::Target; use crate::GameField; fn analyze_grenade(game_field: &GameField, targets: &[Target], my_x: f32, my_y: f32) {} impl AmmoType { pub(crate) fn analyze_attacks( &self, game_field: &GameField, targets: &[Target], my_x: f32, my_y: f32, ) { match self { AmmoType::Grenade => analyze_grenade(game_field, targets, my_x, my_y), _ => {} } } }