![]() |
GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
|
Compute the dependencies of a scene or external events. More...
#include <DependenciesAnalyzer.h>
Public Member Functions | |
DependenciesAnalyzer (const gd::Project &project_, const gd::Layout &layout_) | |
Constructor for analyzing the dependencies of a layout. | |
DependenciesAnalyzer (const gd::Project &project_, const gd::ExternalEvents &externalEvents) | |
Constructor for analyzing the dependencies of external events. | |
bool | Analyze () |
Search the dependencies and return true if there are no circular dependencies in the events of the layout or external events passed in the constructor. More... | |
const std::set< gd::String > & | GetScenesDependencies () const |
Return the scenes being dependencies of the scene or external events passed in the constructor. | |
const std::set< gd::String > & | GetExternalEventsDependencies () const |
Return the external events being dependencies of the scene or external events passed in the constructor. | |
Compute the dependencies of a scene or external events.
bool DependenciesAnalyzer::Analyze | ( | ) |
Search the dependencies and return true if there are no circular dependencies in the events of the layout or external events passed in the constructor.