GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
EventsBasedObjectDependencyFinder.h
1 /*
2  * GDevelop JS Platform
3  * Copyright 2008-2023 Florian Rival ([email protected]). All rights
4  * reserved. This project is released under the MIT License.
5  */
6 
7 #pragma once
8 
9 #include "GDCore/String.h"
10 
11 namespace gd {
12 class Project;
13 class EventsBasedObject;
14 } // namespace gd
15 
16 namespace gd {
17 
24 public:
25  static bool IsDependentFromEventsBasedObject(
26  const gd::Project &project,
27  const gd::EventsBasedObject &eventsBasedObject,
28  const gd::EventsBasedObject &dependency);
29 
30 private:
31  static bool IsDependentFromEventsBasedObject(
32  const gd::Project &project,
33  const gd::EventsBasedObject &eventsBasedObject,
34  const gd::EventsBasedObject &dependency, int depth);
35 };
36 
37 } // namespace gd
Find resource usages in several parts of the project.
Definition: EventsBasedObjectDependencyFinder.h:23
Represents an object that is implemented with events.
Definition: EventsBasedObject.h:30
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:51
Definition: CommonTools.h:24