Meteor2D  dev internal
Meteor is a lightweight 2D game engine.
Loading...
Searching...
No Matches
scene_entity_typemap.h
1#pragma once
2#include <memory>
3#include <functional>
4#include <map>
5#include <string>
6#include <sceneserialization/scene_entity_type_deserializer.h>
7
8namespace meteor {
13 public:
14 static void registerDeserializer(std::string type, MSceneEntityTypeDeserializer* deserializer);
15 static MSceneEntityTypeDeserializer* getDeserializer(std::string type);
16 static size_t getMapSize() { return getMapping().size(); }
17 private:
18 static std::map<std::string, MSceneEntityTypeDeserializer*>& getMapping();
19 };
20}
An Entity is the base class for all data and behaviour oriented objects in meteor....
Definition entity.h:9
Base class for Scene Enity Derserializers.
Definition scene_entity_type_deserializer.h:10
A Class that maintains mapping between Xml node types and their respective Deserializers.
Definition scene_entity_typemap.h:12