mirror of
https://github.com/4ian/GDevelop.git
synced 2025-10-15 10:19:04 +00:00

* This action allow to wait for a few seconds before continuing to run the next actions and sub-events. * It is perfect to create cut scenes, advanced logic or just run things progressively without relying on timers. In a lot of cases, it's simpler and faster to use this new action. * The action remember the picked objects: it works like an usual event, but run the actions (and sub-events) a bit later in time. While the action wait, other events continue to run as usual. * Thanks to @arthuro555 for the ground work and follow up on this new feature. Only show the rest in developer changelog: * Add support for asynchronous actions (including for objects). * Add exhaustive test cases for asynchronous actions. Co-authored-by: Arthur Pacaud <arthur.pacaud@hotmail.fr>
51 lines
2.1 KiB
C++
51 lines
2.1 KiB
C++
/*
|
|
* GDevelop Core
|
|
* Copyright 2008-2016 Florian Rival (Florian.Rival@gmail.com). All rights
|
|
* reserved. This project is released under the MIT License.
|
|
*/
|
|
|
|
#ifndef GDCORE_COMMONINSTRUCTIONSEXTENSION_H
|
|
#define GDCORE_COMMONINSTRUCTIONSEXTENSION_H
|
|
#include "GDCore/Extensions/PlatformExtension.h"
|
|
|
|
namespace gd {
|
|
|
|
/**
|
|
* \brief Tool class containing static methods to setup an extension
|
|
* so that it provides standards events, objects or instructions of an
|
|
* extension.
|
|
*
|
|
* \ingroup BuiltinExtensions
|
|
*/
|
|
class GD_CORE_API BuiltinExtensionsImplementer {
|
|
public:
|
|
static void ImplementsAdvancedExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsAudioExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsBaseObjectExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsCameraExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsCommonConversionsExtension(
|
|
gd::PlatformExtension& extension);
|
|
static void ImplementsCommonInstructionsExtension(
|
|
gd::PlatformExtension& extension);
|
|
static void ImplementsExternalLayoutsExtension(
|
|
gd::PlatformExtension& extension);
|
|
static void ImplementsFileExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsKeyboardExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsMathematicalToolsExtension(
|
|
gd::PlatformExtension& extension);
|
|
static void ImplementsMouseExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsNetworkExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsSceneExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsSpriteExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsStringInstructionsExtension(
|
|
gd::PlatformExtension& extension);
|
|
static void ImplementsTimeExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsVariablesExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsWindowExtension(gd::PlatformExtension& extension);
|
|
static void ImplementsAsyncExtension(gd::PlatformExtension& extension);
|
|
};
|
|
|
|
} // namespace gd
|
|
|
|
#endif // GDCORE_COMMONINSTRUCTIONSEXTENSION_H
|