Grindstone Game Engine
v0.2.0
An open source game engine and toolkit.
Toggle main menu visibility
Loading...
Searching...
No Matches
BlackboardEntry.hpp
1
#pragma once
2
3
#include <string>
4
#include <typeindex>
5
6
namespace
Grindstone
{
7
using
BlackboardKey = std::string;
8
using
BlackboardValue =
char
[64];
9
using
BlackboardTypeId = std::type_index;
10
struct
BlackboardEntry {
11
BlackboardTypeId type;
12
BlackboardValue value;
13
14
BlackboardEntry() =
delete
;
15
BlackboardEntry(BlackboardTypeId typeId) : type(typeId), value() {}
16
BlackboardEntry(
const
BlackboardEntry& other) =
default
;
17
BlackboardEntry(BlackboardEntry&& other)
noexcept
=
default
;
18
BlackboardEntry& operator=(
const
BlackboardEntry& other) =
default
;
19
BlackboardEntry& operator=(BlackboardEntry&& other)
noexcept
=
default
;
20
};
21
}
Grindstone
Definition
Assert.hpp:16
sources
code
Common
Blackboard
BlackboardEntry.hpp
Generated by
1.17.0