#pragma once #include "GameObject.hpp" #include class BuildingObject : public GameObject { private: RcPtr mMesh; RcPtr mMaterial; public: using GameObject::GameObject; virtual Tags::GameObjectType GetTypeTag() const override { return Tags::GOT_Building; } void SetMeshMaterial(Material* material); virtual const Material* GetMeshMaterial() const override; void SetMesh(GpuMesh* mesh); virtual const GpuMesh* GetMesh() const override; };