Saga
Saga Game Engine
Loading...
Searching...
No Matches
signature.h
Go to the documentation of this file.
1#pragma once
2
3#include <bitset>
4
5namespace Saga {
6
7const int MAX_COMPONENTS = 256;
8
12using Signature = std::bitset<MAX_COMPONENTS>;
13
14
15} // namespace Saga
Definition: app.cpp:8
const int MAX_COMPONENTS
Upper bound on number of components. This can be as high as needed, but will linearly increase the sp...
Definition: signature.h:7
std::bitset< MAX_COMPONENTS > Signature
Used for determining if an object has a certain component type. Signature [i] is true if it does,...
Definition: signature.h:12