Definition at line 17 of file SComponent.h.
◆ SComponent() [1/2]
CSE::SComponent::SComponent |
( |
std::string |
classType, |
|
|
SGameObject * |
gameObject |
|
) |
| |
|
inlineexplicit |
Definition at line 20 of file SComponent.h.
20 : m_classType(std::move(classType)),
21 gameObject(gameObject) {
22 }
◆ SComponent() [2/2]
CSE::SComponent::SComponent |
( |
const SComponent & |
src | ) |
|
|
inline |
Definition at line 24 of file SComponent.h.
24 : SISComponent(src) {
25 gameObject = src.gameObject;
26 isEnable = src.isEnable;
27 m_classType = src.m_classType;
28 }
◆ Clone()
Definition at line 35 of file SComponent.h.
35 {
36 return nullptr;
37 }
◆ CopyReference()
◆ GetClassType()
std::string CSE::SComponent::GetClassType |
( |
| ) |
const |
|
inline |
Definition at line 68 of file SComponent.h.
68 {
69 return m_classType;
70 }
◆ GetComponent()
virtual auto CSE::SComponent::GetComponent |
( |
| ) |
-> SObject* |
|
inlinevirtual |
◆ GetGameObject()
virtual SGameObject * CSE::SComponent::GetGameObject |
( |
| ) |
const |
|
inlinevirtual |
Definition at line 54 of file SComponent.h.
54 {
55 return gameObject;
56 }
◆ GetIsEnable()
virtual bool CSE::SComponent::GetIsEnable |
( |
| ) |
const |
|
inlinevirtual |
Definition at line 59 of file SComponent.h.
59 {
60 return isEnable;
61 }
◆ PrintValue()
std::string CSE::SComponent::PrintValue |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ SetClassType()
void CSE::SComponent::SetClassType |
( |
std::string |
type | ) |
|
|
inline |
Definition at line 72 of file SComponent.h.
72 {
73 m_classType = std::move(type);
74 }
◆ SetGameObject()
void CSE::SComponent::SetGameObject |
( |
SGameObject * |
object | ) |
|
|
inline |
Definition at line 50 of file SComponent.h.
50 {
51 gameObject = object;
52 }
◆ SetIsEnable()
virtual void CSE::SComponent::SetIsEnable |
( |
bool |
is_enable | ) |
|
|
inlinevirtual |
Definition at line 64 of file SComponent.h.
64 {
65 isEnable = is_enable;
66 }
◆ SetValue()
void CSE::SComponent::SetValue |
( |
std::string |
name_str, |
|
|
Arguments |
value |
|
) |
| |
|
inlineoverridevirtual |
◆ Start()
void CSE::SComponent::Start |
( |
| ) |
|
|
inlineoverridevirtual |
◆ gameObject
◆ isEnable
bool CSE::SComponent::isEnable = true |
|
protected |
◆ m_classType
std::string CSE::SComponent::m_classType |
|
protected |
The documentation for this class was generated from the following file: