Coding the GameObjectBlueprint class
Create a new header file in the Header Files/FileIO
filter called GameObjectBlueprint.h
and add the following code:
#pragma once #include<vector> #include<string> #include<map> using namespace std; class GameObjectBlueprint { private: string m_Name = ""; vector<string> m_ComponentList; string m_BitmapName = ""; float m_Width; float m_Height; float m_LocationX; float m_LocationY; float m_Speed; bool m_EncompassingRectCollider = false; string m_EncompassingRectColliderLabel = ""; public: float getWidth(); void setWidth(float width); float getHeight(); ...