mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-25 12:25:52 -04:00
35 lines
1012 B
C++
35 lines
1012 B
C++
/**
|
|
|
|
GDevelop - Path Automatism 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/AutomatismsRuntimeSharedData.h"
|
|
#include "GDCpp/String.h"
|
|
#include <map>
|
|
#include <vector>
|
|
#include <SFML/System/Vector2.hpp>
|
|
|
|
class ScenePathDatas;
|
|
class ContactListener;
|
|
|
|
/**
|
|
* Datas shared by Path Automatism at runtime
|
|
*/
|
|
class GD_EXTENSION_API RuntimeScenePathDatas : public AutomatismsRuntimeSharedData
|
|
{
|
|
public:
|
|
RuntimeScenePathDatas(const ScenePathDatas & automatismSharedDatas);
|
|
virtual ~RuntimeScenePathDatas();
|
|
virtual std::shared_ptr<AutomatismsRuntimeSharedData> Clone() const { return std::shared_ptr<AutomatismsRuntimeSharedData>(new RuntimeScenePathDatas(*this));}
|
|
|
|
std::map<gd::String, std::vector<sf::Vector2f> > globalPaths; ///< Map containing all the global paths
|
|
|
|
private:
|
|
};
|
|
|
|
#endif // RUNTIMESCENEPATHDATAS_H
|