blob: fe0b958105c928595f59d1e26adc9c566a09905c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef AISYSTEM_H
#define AISYSTEM_H
// where is player?
#include "Game/GameObjects/GameObject.h"
#include <map>
#include <memory>
#include <glm/glm.hpp>
struct PosData{
glm::vec3 currPos;
glm::vec3 setToPos;
};
// did player jump? did player slash?
struct ConditionData{
bool conditionTrue = false;
};
// BLACKBOARD
struct BlackboardData{
PosData locationData;
std::map<std::string, ConditionData> conditionData;
std::shared_ptr<GameObject> environment;
};
class AISystem
{
public:
AISystem();
};
#endif // AISYSTEM_H
|