Component: Rename MindComponent=>PuppetComponent

This commit is contained in:
2025-12-27 13:29:49 -04:00
parent 2222491c21
commit cd77f4b02d
7 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -23,12 +23,12 @@ public:
public:
};
class MindComponent
class PuppetComponent
: public Component
{
public:
MindComponent(Mind &parent, const std::shared_ptr<ComponentThread> &thread);
~MindComponent() = default;
PuppetComponent(Mind &parent, const std::shared_ptr<ComponentThread> &thread);
~PuppetComponent() = default;
public:
Mind &parent;
+1 -1
View File
@@ -8,7 +8,7 @@ Component::Component(const std::shared_ptr<ComponentThread> &thread)
{
}
MindComponent::MindComponent(
PuppetComponent::PuppetComponent(
Mind &parent, const std::shared_ptr<ComponentThread> &thread)
: Component(thread),
parent(parent)
+1 -1
View File
@@ -14,7 +14,7 @@ namespace smo {
namespace body {
Body::Body(Mind &parent, const std::shared_ptr<ComponentThread> &thread)
: MindComponent(parent, thread)
: PuppetComponent(parent, thread)
{
}
+1 -1
View File
@@ -13,7 +13,7 @@ class ComponentThread;
namespace body {
class Body
: public MindComponent
: public PuppetComponent
{
public:
Body(Mind &parent, const std::shared_ptr<ComponentThread> &thread);
+2 -2
View File
@@ -14,11 +14,11 @@ class ComponentThread;
namespace director {
class Director
: public MindComponent
: public PuppetComponent
{
public:
Director(Mind &parent, const std::shared_ptr<ComponentThread> &thread)
: MindComponent(parent, thread)
: PuppetComponent(parent, thread)
{}
~Director() = default;
+2 -2
View File
@@ -56,9 +56,9 @@ private:
public:
director::Director director;
simulator::Simulator canvas;
MindComponent subconscious;
PuppetComponent subconscious;
body::Body body;
MindComponent world;
PuppetComponent world;
private:
friend class body::Body;
+2 -2
View File
@@ -13,11 +13,11 @@ class ComponentThread;
namespace simulator {
class Simulator
: public MindComponent
: public PuppetComponent
{
public:
Simulator(Mind &parent, const std::shared_ptr<ComponentThread> &thread)
: MindComponent(parent, thread)
: PuppetComponent(parent, thread)
{}
~Simulator() = default;