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
5
namespace
Saga
{
6
7
const
int
MAX_COMPONENTS
= 256;
8
12
using
Signature
= std::bitset<MAX_COMPONENTS>;
13
14
15
}
// namespace Saga
Saga
Definition:
app.cpp:8
Saga::MAX_COMPONENTS
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
Saga::Signature
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
Gameworld
signature.h
Generated by
1.9.6