mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 10:35:35 -04:00
35 lines
998 B
C++
35 lines
998 B
C++
/**
|
|
|
|
GDevelop - Path Behavior Extension
|
|
Copyright (c) 2010-2015 Florian Rival (Florian.Rival@gmail.com)
|
|
This project is released under the MIT License.
|
|
*/
|
|
|
|
#ifndef RUNTIMESCENEPATHDATAS_H
|
|
#define RUNTIMESCENEPATHDATAS_H
|
|
#include "GDCpp/BehaviorsRuntimeSharedData.h"
|
|
#include "GDCpp/String.h"
|
|
#include <map>
|
|
#include <vector>
|
|
#include <SFML/System/Vector2.hpp>
|
|
|
|
class ScenePathDatas;
|
|
class ContactListener;
|
|
|
|
/**
|
|
* Datas shared by Path Behavior at runtime
|
|
*/
|
|
class GD_EXTENSION_API RuntimeScenePathDatas : public BehaviorsRuntimeSharedData
|
|
{
|
|
public:
|
|
RuntimeScenePathDatas(const ScenePathDatas & behaviorSharedDatas);
|
|
virtual ~RuntimeScenePathDatas();
|
|
virtual std::shared_ptr<BehaviorsRuntimeSharedData> Clone() const { return std::shared_ptr<BehaviorsRuntimeSharedData>(new RuntimeScenePathDatas(*this));}
|
|
|
|
std::map<gd::String, std::vector<sf::Vector2f> > globalPaths; ///< Map containing all the global paths
|
|
|
|
private:
|
|
};
|
|
|
|
#endif // RUNTIMESCENEPATHDATAS_H
|