#include "BaseSimulation.h" #include #include #include #include "ai.h" #include "systems.h" namespace kurator { namespace sim { BaseSimulation::BaseSimulation(State& ctx) { setup_ai_components(ctx); manager.extend(ctx); } void BaseSimulation::operator()(State& ctx) { pick_random_targets(ctx, manager); keep_at_range(ctx); FloatingMovement::update(ctx); update_turrets(ctx); shoot_at_targets(ctx); kill_off_dead(ctx); manager.update(ctx); } } // namespace sim } // namespace kurator