Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Namespaces | Variables
Task_Flee.cpp File Reference

Atomic AI task: move entity away from a 2D threat position. More...

#include "Task_Flee.h"
#include "../../AtomicTaskRegistry.h"
#include "../../LocalBlackboard.h"
#include "../../TaskWorldFacade.h"
#include "../../../system/system_utils.h"
#include <cmath>
+ Include dependency graph for Task_Flee.cpp:

Go to the source code of this file.

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Variables

static const float Olympe::DEFAULT_FLEE_DISTANCE = 200.0f
 
static const float Olympe::FLEE_MOVE_SPEED = 250.0f
 

Detailed Description

Atomic AI task: move entity away from a 2D threat position.

Author
Olympe Engine
Date
2026-03-08

C++14 compliant - no C++17/20 features.

Definition in file Task_Flee.cpp.