#ifndef OBJECTMANAGER_H
#define OBJECTMANAGER_H

#include "SFML/Graphics.hpp"
#include <string>
#include <vector>
#include <memory>

#include "GameObject.h"

class ObjectManager
{
private:
	static ObjectManager* instance;
	void InitialiseInstence();

	ObjectManager() {}
	ObjectManager(const ObjectManager&){}
	~ObjectManager();

	sf::Clock							* timer;
	std::map<std::string, GameObject*>	* gameObjects;

public:
	static ObjectManager& getInstance();
	static void destroy();
};

#endif //OBJECTMANAGER_H
