Rename corelogic->hcore, add simulator skeleton classes

This commit is contained in:
2025-01-03 20:02:24 -04:00
parent bb54aac865
commit f9b377a9f4
30 changed files with 153 additions and 9 deletions
+36
View File
@@ -0,0 +1,36 @@
#ifndef _SCENE_H
#define _SCENE_H
#include <cstdint>
#include <map>
#include <mentalEntity.h>
#include <simulator/commandList.h>
namespace scene {
class Scene
{
public:
using Id = uint32_t;
Scene();
~Scene();
bool hasMentalEntity(const MentalEntity::Id menty) const;
MentalEntity::Id addMentalEntity(const MentalEntity& menty);
void replaceMentalEntity(const MentalEntity::Id menty, const MentalEntity& newMenty);
void removeMentalEntity(const MentalEntity::Id menty);
void executeInd(void);
CommandList::Cursor haltInd(void);
private:
std::map<MentalEntity::Id, MentalEntity &> menties;
CommandList commands;
CommandList::Cursor cursor;
};
}
#endif