Files
GDevelop/Extensions/TimedEvent/TimedEventsManager.h
T
2014-11-30 16:59:51 +01:00

28 lines
613 B
C++

/**
GDevelop - Timed Event Extension
Copyright (c) 2011-2013 Florian Rival (Florian.Rival@gmail.com)
This project is released under the MIT License.
*/
#ifndef TIMEDEVENTMANAGER_H
#define TIMEDEVENTMANAGER_H
#include <map>
#include <string>
#include "GDCpp/RuntimeScene.h"
#include "GDCpp/ManualTimer.h"
class TimedEventsManager
{
public:
TimedEventsManager() {};
virtual ~TimedEventsManager() {};
std::map < std::string, ManualTimer > timedEvents;
static std::map < RuntimeScene* , TimedEventsManager > managers; //List of managers associated with scenes.
};
#endif // TIMEDEVENTMANAGER_H