Add some code from framework

This commit is contained in:
Bram verhulst
2025-05-18 11:03:51 +02:00
parent 294e9ab735
commit 620dafb591
18 changed files with 487 additions and 5 deletions

25
project/Thinker.h Normal file
View File

@@ -0,0 +1,25 @@
#pragma once
#include <Exam_HelperStructs.h>
#include <chrono>
#include <vector>
class Thinker final {
public:
struct HouseMemory {
bool newHouse{ true };
HouseInfo info;
std::chrono::steady_clock::time_point lastSaw;
};
Thinker() = default;
~Thinker() = default;
Thinker(const Thinker&) = default;
Thinker& operator=(const Thinker&) = default;
Thinker(Thinker&&) = default;
Thinker& operator=(Thinker&&) = default;
void CheckIfNewHouse(const HouseInfo& newHouse);
private:
std::vector<HouseMemory> m_HousesMemory{};
};