Dicewars-Siedler/src/engine/core/ECS/ModelComponent.h
2026-02-08 18:30:25 +01:00

22 lines
396 B
C++

//
// Created by sebastian on 08.02.26.
//
#ifndef MODELCOMPONENT_H
#define MODELCOMPONENT_H
#include <memory>
#include "Component.h"
#include "../../renderer/model/TexturedModel.h"
class ModelComponent: public Component {
public:
std::shared_ptr<TexturedModel> model;
ModelComponent(std::shared_ptr<TexturedModel> model) : model(std::move(model)) {};
};
#endif //MODELCOMPONENT_H