20 explicit SComponent(std::string classType,
SGameObject* gameObject) : m_classType(std::move(classType)),
21 gameObject(gameObject) {
25 gameObject = src.gameObject;
26 isEnable = src.isEnable;
27 m_classType = src.m_classType;
33 void Start()
override {}
39 virtual void CopyReference(
SComponent* src, std::map<SGameObject*, SGameObject*> lists_obj,
40 std::map<SComponent*, SComponent*> lists_comp) {}
42 virtual auto GetComponent() ->
SObject* {
46 void SetValue(std::string name_str, Arguments value)
override {}
48 std::string PrintValue()
const override {
return {}; }
59 virtual bool GetIsEnable()
const {
64 virtual void SetIsEnable(
bool is_enable) {
68 std::string GetClassType()
const {
72 void SetClassType(std::string type) {
73 m_classType = std::move(type);
80 std::string m_classType;