Saga
Saga Game Engine
Loading...
Searching...
No Matches
signature.h File Reference
#include <bitset>
Include dependency graph for signature.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Saga
 

Typedefs

using Saga::Signature = std::bitset< MAX_COMPONENTS >
 Used for determining if an object has a certain component type. Signature [i] is true if it does, and false otherwise.
 

Variables

const int Saga::MAX_COMPONENTS = 256
 Upper bound on number of components. This can be as high as needed, but will linearly increase the speed of ComponentGroup lookups.