Refactor project structure by moving core files to corelogic and updating build configurations

This commit is contained in:
2024-11-22 16:41:06 +11:00
parent 2ae140f17e
commit 4ccd8daa69
37 changed files with 845 additions and 708 deletions
+60
View File
@@ -0,0 +1,60 @@
#ifndef _THOUGHT_H
#define _THOUGHT_H
#include <iostream>
#include <scene.h>
#include <attentionGrabber.h>
#include <goal.h>
class Thought
{
public:
Thought(void)
{
setGoal(thought::Goal::DRIFT);
}
public:
void walk(void)
{
for (;;)
{
step();
}
};
void step(void) { std::cout <<"Step\n"; }
void setGoal(thought::Goal g)
{ goal = g; }
public:
Scene scene;
thought::Goal goal;
};
class ActiveThought
: public Thought
{
public:
ActiveThought(AttentionGrabber ag)
: currFocus(ag)
{
setGoal(thought::Goal
::ASSOCIATE_CAUSAL_QUALE_WITH_INTRINSIC_MOTIVATORS);
}
public:
AttentionGrabber currFocus;
};
class IdleThought
: public Thought
{
public:
IdleThought(void)
{}
};
#endif