GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
ResourceExposer.h
1 /*
2  * GDevelop Core
3  * Copyright 2008-2016 Florian Rival ([email protected]). All rights
4  * reserved. This project is released under the MIT License.
5  */
6 #pragma once
7 
8 namespace gd {
9 class Platform;
10 class Project;
11 class ArbitraryResourceWorker;
12 class Effect;
13 class Layout;
14 } // namespace gd
15 
16 namespace gd {
17 
21 class GD_CORE_API ResourceExposer {
22 public:
32  static void ExposeWholeProjectResources(gd::Project &project,
34 
40  static void ExposeProjectResources(gd::Project &project,
42 
48  static void ExposeLayoutResources(gd::Project &project, gd::Layout &layout,
50 
54  static void ExposeEffectResources(gd::Platform &platform, gd::Effect &effect,
56 };
57 
58 } // namespace gd
ArbitraryResourceWorker is used so as to inventory resources and sometimes update them.
Definition: ArbitraryResourceWorker.h:44
Represents an effect that can be applied on a layer.
Definition: Effect.h:22
Represent a layout ( also called a scene ) of a project.
Definition: Layout.h:39
Base class for implementing a platform.
Definition: Platform.h:42
Base class representing a project (game), including all resources, scenes, objects,...
Definition: Project.h:50
Definition: ResourceExposer.h:21
Definition: CommonTools.h:24