From 61d16477b01bcfbe8c3a481a232658ac60309f57 Mon Sep 17 00:00:00 2001 From: Aki Date: Thu, 27 Apr 2023 00:36:46 +0200 Subject: Extracted KeepAtRange action It seems an abstraction level is of some kind is needed here. One thing to handle "AI", another to handle primitive commands and their execution. --- sim/src/ai.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/src/ai.h') diff --git a/sim/src/ai.h b/sim/src/ai.h index 9173891..d1e9c29 100644 --- a/sim/src/ai.h +++ b/sim/src/ai.h @@ -13,7 +13,7 @@ namespace sim void pick_random_targets(State& ctx, TeamManager& manager); -void keep_at_range(State& ctx); +void take_actions(State& ctx); void shoot_at_targets(State& ctx); -- cgit v1.1