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

Practical examples demonstrating Phase 4 runtime condition evaluation. More...

#include "ConditionPresetEvaluator.h"
#include "RuntimeEnvironment.h"
#include "../Editor/ConditionPreset/ConditionPreset.h"
#include "../Editor/ConditionPreset/NodeConditionRef.h"
#include "../Editor/ConditionPreset/Operand.h"
#include <iostream>
#include <iomanip>
+ Include dependency graph for Phase4_ConditionEvaluation_Examples.cpp:

Go to the source code of this file.

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 
namespace  Olympe::Examples
 

Functions

void Olympe::Examples::Example1_SimpleHealthCheck ()
 
void Olympe::Examples::Example2_ConstModeOperand ()
 
void Olympe::Examples::Example3_ConditionChainAND ()
 
void Olympe::Examples::Example4_ConditionChainOR ()
 
void Olympe::Examples::Example5_ComparisonOperators ()
 
void Olympe::Examples::Example6_ErrorHandling ()
 
void Olympe::Examples::Example7_BranchNodePattern ()
 
int Olympe::Examples::RunAllExamples ()
 

Detailed Description

Practical examples demonstrating Phase 4 runtime condition evaluation.

Author
Olympe Engine
Date
2026-03-17

This file contains real-world usage examples for Phase 4. While not compiled as tests, these examples demonstrate the proper integration patterns.

Compile and run with your test framework: g++ -std=c++14 -I. Phase4_ConditionEvaluation_Examples.cpp \ Source/Runtime/ConditionPresetEvaluator.cpp \ Source/Runtime/RuntimeEnvironment.cpp \ -o phase4_examples

Definition in file Phase4_ConditionEvaluation_Examples.cpp.