blob: 0e213a68387e97a6961df725d0141e5adb5bc49e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "GameObject.hpp"
#include <vector>
class BuildingObject : public GameObject {
private:
RcPtr<Mesh> mMesh;
RcPtr<Material> 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(Mesh* mesh);
virtual const Mesh* GetMesh() const override;
};
|