![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Defines ConditionPreset — a reusable, globally-stored condition expression. More...
#include <string>#include <utility>#include "Operand.h"#include "../../third_party/nlohmann/json.hpp"
Include dependency graph for ConditionPreset.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | Olympe::ConditionPreset |
| A globally-stored, reusable condition expression. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Enumerations | |
| enum class | Olympe::ComparisonOp { Olympe::Equal , Olympe::NotEqual , Olympe::Less , Olympe::LessEqual , Olympe::Greater , Olympe::GreaterEqual } |
| The relational operator used in a ConditionPreset. More... | |
Defines ConditionPreset — a reusable, globally-stored condition expression.
A ConditionPreset represents a single boolean comparison of the form: <left Operand> <ComparisonOp> <right Operand>
Presets are stored in the global ConditionPresetRegistry and referenced by NodeBranch nodes via NodeConditionRef. This separation allows the same condition to be reused across multiple nodes and edited in one place.
C++14 compliant — no std::optional, structured bindings, std::filesystem.
Definition in file ConditionPreset.h.